File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lldb/test/API/lang/swift/completion Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,19 +52,19 @@ def test_lldb_command_completion(self):
52
52
53
53
# Try completing something already complete.
54
54
self .child .send (":b\t " )
55
- self .child .expect_exact (":b " )
55
+ # Use list of strings to work when there are embedded ansi sequences.
56
+ self .child .expect_exact ([":" , "b " ])
56
57
self .child .sendline ("" )
57
58
58
59
# Try completing something that only has one result "vers" -> "version".
59
60
self .child .send (":vers\t " )
60
- # Use list of strings to work when there are embedded ansi sequences.
61
61
self .child .expect_exact ([":" , "version" ])
62
62
self .child .sendline ("" )
63
63
64
64
# Try completing something that has multiple completions.
65
65
self .child .send (":\t " )
66
66
self .child .expect_exact ("Available completions:" )
67
- self .child .expect_exact (": help" )
67
+ self .child .expect_exact ([ ":" , " help"] )
68
68
self .child .expect_exact ("More (Y/n/a)" )
69
69
self .child .send ("n" )
70
70
self .child .sendline ("help" )
You can’t perform that action at this time.
0 commit comments