Skip to content

Commit d48be62

Browse files
committed
Fix semantic of Fail to not care about exit code
Signed-off-by: apostasie <[email protected]>
1 parent 26a2297 commit d48be62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/testutil/test/helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func (help *helpersInternal) Anyhow(args ...string) {
7070
// Fail will run a command and make sure it does fail
7171
func (help *helpersInternal) Fail(args ...string) {
7272
help.Command(args...).Run(&Expected{
73-
ExitCode: 1,
73+
ExitCode: -1,
7474
})
7575
}
7676

0 commit comments

Comments
 (0)