gdt-dev / gdt

Go Declarative Testing
Apache License 2.0
4 stars 2 forks source link

correct exit code assertion in exec plugin #50

Closed jaypipes closed 4 months ago

jaypipes commented 4 months ago

The constructor for assertions in the exec plugin was incorrectly setting the expected exit code equal to the exit code it received from the test spec, resulting in script or command executions returning non-0 exit codes from causing a test.FailNow().