Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Sep 25, 2023
1 parent 2be179c commit ae449ca
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions example/cmd/compat_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,16 @@ func TestCompat(t *testing.T) {
s.Run("compat", "--error", "").
Expect(carapace.ActionMessage("an error occured").
Usage("ShellCompDirectiveError"))

s.Run("compat", "--nospace", "").
Expect(carapace.ActionValues(
"one",
"two",
).NoSpace().
Usage("ShellCompDirectiveNoSpace"))

s.Run("compat", "--nofilecomp", "").
Expect(carapace.ActionValues().
Usage("ShellCompDirectiveNoFileComp"))
})
}

0 comments on commit ae449ca

Please sign in to comment.