Skip to content

Commit

Permalink
[lldb][NFC] Remove trailing whitespace in TestCompletion
Browse files Browse the repository at this point in the history
  • Loading branch information
Teemperor committed Aug 31, 2020
1 parent b51321c commit da0d43d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lldb/test/API/functionalities/completion/TestCompletion.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ def test_frame_variable(self):
(target, process, thread, bkpt) = lldbutil.run_to_source_breakpoint(self,
'// Break here', self.main_source_spec)
self.assertEquals(process.GetState(), lldb.eStateStopped)
# Since CommandInterpreter has been corrected to update the current execution
# context at the beginning of HandleCompletion, we're here explicitly testing

# Since CommandInterpreter has been corrected to update the current execution
# context at the beginning of HandleCompletion, we're here explicitly testing
# the scenario where "frame var" is completed without any preceding commands.

self.complete_from_to('frame variable fo',
Expand Down Expand Up @@ -133,7 +133,7 @@ def completions_contain_str(self, input, needle):
@skipIfRemote
def test_common_completion_process_pid_and_name(self):
# The LLDB process itself and the process already attached to are both
# ignored by the process discovery mechanism, thus we need a process known
# ignored by the process discovery mechanism, thus we need a process known
# to us here.
self.build()
server = self.spawnSubprocess(
Expand Down Expand Up @@ -562,7 +562,7 @@ def test_common_completion_frame_index(self):

self.complete_from_to('frame select ', ['0'])
self.complete_from_to('thread backtrace -s ', ['0'])

def test_frame_recognizer_delete(self):
self.runCmd("frame recognizer add -l py_class -s module_name -n recognizer_name")
self.check_completion_with_desc('frame recognizer delete ', [['0', 'py_class, module module_name, symbol recognizer_name']])
Expand Down Expand Up @@ -693,7 +693,7 @@ def test_complete_breakpoint_with_ids(self):
for subcommand in subcommands:
self.complete_from_to('breakpoint ' + subcommand + ' ',
['1'])

bp2 = target.BreakpointCreateByName('Bar', 'a.out')
self.assertTrue(bp2)
self.assertEqual(bp2.GetNumLocations(), 1)
Expand All @@ -702,7 +702,7 @@ def test_complete_breakpoint_with_ids(self):
self.complete_from_to('breakpoint ' + subcommand + ' ',
['1',
'2'])

for subcommand in subcommands:
self.complete_from_to('breakpoint ' + subcommand + ' 1 ',
['1',
Expand Down

0 comments on commit da0d43d

Please sign in to comment.