summaryrefslogtreecommitdiff
path: root/complete_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'complete_test.go')
-rw-r--r--complete_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/complete_test.go b/complete_test.go
index 04b10cc..3a0809f 100644
--- a/complete_test.go
+++ b/complete_test.go
@@ -173,7 +173,7 @@ func TestComplete(t *testing.T) {
{shouldExit: false, line: "", point: ""},
{shouldPanic: true, line: "cmd", point: ""},
{shouldPanic: true, line: "cmd", point: "a"},
- {shouldPanic: true, line: "cmd", point: "4"},
+ {shouldExit: true, line: "cmd", point: "4"},
{shouldExit: true, install: "1"},
{shouldExit: false, install: "a"},