Skip to content

Commit

Permalink
Merge pull request #3565 from apostasie/helpers-fail-behavior
Browse files Browse the repository at this point in the history
Fix semantic of Fail to not care about exit code
  • Loading branch information
djdongjin authored Oct 17, 2024
2 parents 71b8193 + d48be62 commit 7748f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/testutil/test/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (help *helpersInternal) Anyhow(args ...string) {
// Fail will run a command and make sure it does fail
func (help *helpersInternal) Fail(args ...string) {
help.Command(args...).Run(&Expected{
ExitCode: 1,
ExitCode: -1,
})
}

Expand Down

0 comments on commit 7748f15

Please sign in to comment.