summaryrefslogtreecommitdiff
path: root/complete_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'complete_test.go')
-rw-r--r--complete_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/complete_test.go b/complete_test.go
index 36e6c5b..a7c6834 100644
--- a/complete_test.go
+++ b/complete_test.go
@@ -125,6 +125,7 @@ func TestCompleter(t *testing.T) {
{args: "--", want: []string{"--help"}},
{args: "-he", want: []string{"-help"}},
{args: "-x", want: []string{"-help"}},
+ {args: "flags -h", want: []string{"-h"}},
}
for _, tt := range tests {