summaryrefslogtreecommitdiff
path: root/test/lib/completions/finger.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/completions/finger.exp')
-rw-r--r--test/lib/completions/finger.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/completions/finger.exp b/test/lib/completions/finger.exp
index 70e3ed2c..f11d11fe 100644
--- a/test/lib/completions/finger.exp
+++ b/test/lib/completions/finger.exp
@@ -24,7 +24,7 @@ sync_after_int
set test "Tab should complete partial username"
-assert_complete_partial [exec bash -c "compgen -A user"] "finger" -nospace
+assert_complete_partial [exec bash -c "compgen -A user"] "finger" "" $test -nospace
sync_after_int
@@ -48,7 +48,7 @@ foreach h [get_known_hosts] {
}
}
}
-assert_complete $hosts "finger test@$char" $test
+assert_complete $hosts "finger test@$char" $test -expect-cmd-minus "test@$char"
sync_after_int