[Lldb-commits] [lldb] [lldb][test] Modernize asserts (PR #82503)
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 21 08:47:26 PST 2024
================
@@ -456,8 +457,9 @@ def queues_with_libBacktraceRecording(self):
"doing_the_work_2",
"queue 2's pending item #0 should be doing_the_work_2",
)
- self.assertTrue(
- queue_performer_2.GetPendingItemAtIndex(9999).IsValid() == False,
+ self.assertEqual(
+ queue_performer_2.GetPendingItemAtIndex(9999).IsValid(),
----------------
bulbazord wrote:
Might be useful to do an additional pass over these later. I think we could use `assertFalse` here, for example.
https://github.com/llvm/llvm-project/pull/82503
More information about the lldb-commits
mailing list