diff options
| author | Dave Lee <davelee.com@gmail.com> | 2021-02-02 14:46:37 -0800 |
|---|---|---|
| committer | Dave Lee <davelee.com@gmail.com> | 2021-02-03 21:15:08 -0800 |
| commit | 0ed758b26041ef4ec57e8511d289fb0b84468775 (patch) | |
| tree | 85ec29e88231671b4dc2bd4443706ca470e97273 /lldb/test/API/functionalities/exec | |
| parent | 9511fa2ddab73c7c93c97df514a00cee5e12e1b2 (diff) | |
[lldb] Convert more assertTrue to assertEqual (NFC)
Follow up to D95813, this converts multiline assertTrue to assertEqual.
Differential Revision: https://reviews.llvm.org/D95899
Diffstat (limited to 'lldb/test/API/functionalities/exec')
| -rw-r--r-- | lldb/test/API/functionalities/exec/TestExec.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/test/API/functionalities/exec/TestExec.py b/lldb/test/API/functionalities/exec/TestExec.py index 3d9249af4d9d..5d0665986dc6 100644 --- a/lldb/test/API/functionalities/exec/TestExec.py +++ b/lldb/test/API/functionalities/exec/TestExec.py @@ -99,8 +99,8 @@ class ExecTestCase(TestBase): threads = lldbutil.get_stopped_threads( process, lldb.eStopReasonExec) - self.assertTrue( - len(threads) == 1, + self.assertEqual( + len(threads), 1, "We got a thread stopped for exec.") # Run and we should stop at breakpoint in main after exec @@ -169,8 +169,8 @@ class ExecTestCase(TestBase): threads = lldbutil.get_stopped_threads( process, lldb.eStopReasonExec) - self.assertTrue( - len(threads) == 1, + self.assertEqual( + len(threads), 1, "We got a thread stopped for exec.") # Run and we should stop at breakpoint in main after exec |
