Skip to content

Commit 9ab1d97

Browse files
committed
Change assert to check frame's symbol
1 parent ba08bb1 commit 9ab1d97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/test/API/lang/swift/exception_breakpoint_recognizer/TestSwiftExceptionBreakpointRecognizer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ def test(self):
1616
thread = process.selected_thread
1717
stop_desc = thread.GetStopDescription(128)
1818
# self.assertEqual(stop_desc, "Swift exception breakpoint")
19-
self.assertEqual(thread.frame[0].name, "swift_willThrow")
19+
self.assertEqual(thread.frame[0].symbol.name, "swift_willThrow")
2020
self.assertEqual(thread.selected_frame.idx, 1)
2121

2222
# Second breakpoint in an typed throws function.
2323
process.Continue()
2424
thread = process.selected_thread
2525
stop_desc = thread.GetStopDescription(128)
2626
# self.assertEqual(stop_desc, "Swift exception breakpoint")
27-
self.assertEqual(thread.frame[0].name, "swift_willThrowTypedImpl")
27+
self.assertEqual(thread.frame[0].symbol.name, "swift_willThrowTypedImpl")
2828
self.assertEqual(thread.selected_frame.idx, 2)

0 commit comments

Comments
 (0)