Skip to content

Commit 5728813

Browse files
authored
[lldb] Fix TestBreakpointLocations (#131890)
1 parent 7b00b0b commit 5728813

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lldb/test/API/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ def set_breakpoint(self):
4747
self.expect(
4848
"breakpoint list -f",
4949
"Breakpoint locations shown correctly",
50+
ordered=False,
5051
substrs=[
51-
"1: file = 'main.c', line = %d, exact_match = 0, locations = 3"
52-
% self.line
52+
f"1: file = 'main.c', line = {self.line}, exact_match = 0, locations = 3"
5353
],
5454
patterns=[
55-
"where = a.out`func_inlined .+unresolved, hit count = 0",
56-
r"where = a.out`main .+\[inlined\].+unresolved, hit count = 0",
55+
"where = a.out`func_inlined .+?unresolved, hit count = 0",
56+
r"where = a.out`main .+?\[inlined\].+?unresolved, hit count = 0",
5757
],
5858
)
5959

0 commit comments

Comments
 (0)