File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -15,4 +15,29 @@ assert_complete_any "ccache -"
15
15
sync_after_int
16
16
17
17
18
+ set test "Tab should offer correct options from partial option"
19
+ assert_complete_partial [list "--cleanup" "--clear"] "ccache" "--clea" $test
20
+ sync_after_int
21
+
22
+
23
+ set test "Tab should complete a command after ccache"
24
+ assert_complete [list "stty"] "ccache stt" $test
25
+ sync_after_int
26
+
27
+
28
+ set test "Tab should complete a command after ccache --FLAG"
29
+ assert_complete [list "stty"] "ccache --zero-stats stt" $test
30
+ sync_after_int
31
+
32
+
33
+ set test "Tab should complete a command's flags after ccache"
34
+ assert_complete [list "--help"] "ccache ls --hel" $test
35
+ sync_after_int
36
+
37
+
38
+ set test "Tab should complete a command's flags after ccache --FLAG"
39
+ assert_complete [list "--help"] "ccache --zero-stats ls --hel" $test
40
+ sync_after_int
41
+
42
+
18
43
teardown
You can’t perform that action at this time.
0 commit comments