Skip to content

Commit a8faa34

Browse files
authored
[lldb] Handle suspend resume partial functions in TestSwiftStepInAsync (#2846)
1 parent 0d23b7f commit a8faa34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/test/API/lang/swift/async/stepping/step-in/TestSwiftStepInAsync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def test(self):
5555
continue
5656

5757
# The entry function is missing this prefix dedicating resume functions.
58-
prefix = re.compile(r'^\([0-9]+\) await resume partial function for ')
58+
prefix = re.compile(r'^\([0-9]+\) (await|suspend) resume partial function for ')
5959
self.assertEqual(prefix.sub('', caller_after),
6060
prefix.sub('', caller_before))
6161
num_async_steps += 1

0 commit comments

Comments
 (0)