mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-05 00:49:43 +00:00
Add command completion test case for 'watchpoint command'.
llvm-svn: 161684
This commit is contained in:
parent
d4e65373f3
commit
01c0d4ec1f
@ -28,6 +28,10 @@ class CommandLineCompletionTestCase(TestBase):
|
||||
self.complete_from_to('process print hello\\', 'process print hello\\',
|
||||
turn_off_re_match=True)
|
||||
|
||||
def test_watchpoint_command_dash_w_space(self):
|
||||
"""Test that 'watchpoint command' completes to ['Available completions:', 'add', 'delete', 'list']."""
|
||||
self.complete_from_to('watchpoint command', ['Available completions:', 'add', 'delete', 'list'])
|
||||
|
||||
def test_watchpoint_set_variable_dash_w(self):
|
||||
"""Test that 'watchpoint set variable -w' completes to 'watchpoint set variable -w '."""
|
||||
self.complete_from_to('watchpoint set variable -w', 'watchpoint set variable -w ')
|
||||
|
Loading…
x
Reference in New Issue
Block a user