diff --git a/cmd/completion_test.go b/cmd/completion_test.go index c33654f..42035b8 100644 --- a/cmd/completion_test.go +++ b/cmd/completion_test.go @@ -21,9 +21,13 @@ func TestCompletionCmd(t *testing.T) { []string{"bash"}, nil, }, - "invalid arg": { + "fish": { []string{"fish"}, - fmt.Errorf("konf currently does not support autocompletions for fish"), + nil, + }, + "invalid arg": { + []string{"invalid"}, + fmt.Errorf("konf currently does not support autocompletions for invalid"), }, } diff --git a/cmd/shellwrapper_test.go b/cmd/shellwrapper_test.go index 019d1a0..06e8081 100644 --- a/cmd/shellwrapper_test.go +++ b/cmd/shellwrapper_test.go @@ -21,9 +21,13 @@ func TestShellWrapperCmd(t *testing.T) { []string{"bash"}, nil, }, - "invalid arg": { + "fish arg": { []string{"fish"}, - fmt.Errorf("konf currently does not support fish"), + nil, + }, + "invalid arg": { + []string{"invalid"}, + fmt.Errorf("konf currently does not support invalid"), }, }