Skip to content

Commit 7748f15

Browse files
authored
Merge pull request containerd#3565 from apostasie/helpers-fail-behavior
Fix semantic of Fail to not care about exit code
2 parents 71b8193 + d48be62 commit 7748f15

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)