
Context: While trying to create an helper library to manage http rest api testing, I made a system witch allow to pick value from responses, header, cookie, ... and inject then as variables. Issue: Doing this, when the inject variable make the line longer than the longest declared step, godog will failed to render test result under pretty formatting cause it will try to write a comment on a negative index Fix: Fix s methods so it will not goes to fatal when recieving negative number.
8 строки
Без EOL
84 Б
Text
8 строки
Без EOL
84 Б
Text
/cmd/godog/godog
|
|
/example/example
|
|
**/vendor/*
|
|
Gopkg.lock
|
|
Gopkg.toml
|
|
|
|
.DS_Store
|
|
.idea |