diff options
Diffstat (limited to 'flag_test.go')
| -rw-r--r-- | flag_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/flag_test.go b/flag_test.go index f2d6f28..d587752 100644 --- a/flag_test.go +++ b/flag_test.go @@ -106,8 +106,8 @@ func TestUsage(t *testing.T) { if GetCommandLine().Parse([]string{"--x"}) == nil { t.Error("parse did not fail for unknown flag") } - if !called { - t.Error("did not call Usage for unknown flag") + if called { + t.Error("did call Usage while using ContinueOnError") } } |
