================
@@ -2347,7 +2347,7 @@ def filecheck(
             msg="FileCheck'ing result of `{0}`".format(command),
         )
 
-        self.assertTrue((not expect_cmd_failure) == self.res.Succeeded())
+        self.assertEqual(not expect_cmd_failure, self.res.Succeeded())
----------------
bulbazord wrote:

Suggestion: It might read better if we rewrite this slightly to 
`assertEqual(expect_cmd_failure, not self.res.Succeeded())`.

https://github.com/llvm/llvm-project/pull/177212
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to