diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2020-01-31 14:26:27 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2020-01-31 14:36:39 -0800 |
commit | 83510e144bd9a1736c2191d3fac12922942e9e09 (patch) | |
tree | 9c8af5f8706f3156fb3635a0a82b1d1752343f2f | |
parent | d3bdd51f70449435443b3e8ff254cba49d4aba80 (diff) | |
download | llvm-83510e144bd9a1736c2191d3fac12922942e9e09.zip llvm-83510e144bd9a1736c2191d3fac12922942e9e09.tar.gz llvm-83510e144bd9a1736c2191d3fac12922942e9e09.tar.bz2 |
[lldb/Test] Fix substr order in TestWatchLocationWithWatchSet.py
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/commands/watchpoints/watchpoint_set_command/TestWatchLocationWithWatchSet.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/commands/watchpoints/watchpoint_set_command/TestWatchLocationWithWatchSet.py b/lldb/packages/Python/lldbsuite/test/commands/watchpoints/watchpoint_set_command/TestWatchLocationWithWatchSet.py index 326028e..53736a0 100644 --- a/lldb/packages/Python/lldbsuite/test/commands/watchpoints/watchpoint_set_command/TestWatchLocationWithWatchSet.py +++ b/lldb/packages/Python/lldbsuite/test/commands/watchpoints/watchpoint_set_command/TestWatchLocationWithWatchSet.py @@ -79,10 +79,14 @@ class WatchLocationUsingWatchpointSetTestCase(TestBase): # We should be stopped again due to the watchpoint (write type), but # only once. The stop reason of the thread should be watchpoint. - self.expect("thread list", STOPPED_DUE_TO_WATCHPOINT, - substrs=['stopped', - 'stop reason = watchpoint', - self.violating_func]) + self.expect( + "thread list", + STOPPED_DUE_TO_WATCHPOINT, + substrs=[ + 'stopped', + self.violating_func, + 'stop reason = watchpoint', + ]) # Switch to the thread stopped due to watchpoint and issue some # commands. |