forked from OSchip/llvm-project
[lldb] Print result when expect_expr unexpectedly succeeds
This commit is contained in:
parent
2492075add
commit
a57ad008b4
|
@ -2397,7 +2397,7 @@ FileCheck output:
|
|||
eval_result = frame.EvaluateExpression(expr)
|
||||
|
||||
if error_msg:
|
||||
self.assertFalse(eval_result.IsValid())
|
||||
self.assertFalse(eval_result.IsValid(), "Unexpected success with result: '" + str(eval_result) + "'")
|
||||
self.assertEqual(error_msg, eval_result.GetError().GetCString())
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in New Issue