Skip to content

Commit

Permalink
fix shellwrapper test
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonTheLeg committed Jul 2, 2024
1 parent 0398c51 commit f3ddb8a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions cmd/completion_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
},
}

Expand Down
8 changes: 6 additions & 2 deletions cmd/shellwrapper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
},
}

Expand Down

0 comments on commit f3ddb8a

Please sign in to comment.