Skip to content

Commit 48eb592

Browse files
committed
[lldb] Fix regex in TestSwiftTaskSyntheticProvider (#10307)
(cherry-picked from commit 2ec15cf)
1 parent 80faf17 commit 48eb592

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/test/API/lang/swift/async/formatters/task/TestSwiftTaskSyntheticProvider.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def test_top_level_task(self):
2121
patterns=[
2222
textwrap.dedent(
2323
r"""
24-
\(Task<\(\), Error>\) task = id:(\d+) flags:(?:running\|)?enqueued\|future \{
24+
\(Task<\(\), Error>\) task = id:(\d+) flags:(?:running\|)?(?:enqueued\|)?future \{
2525
address = 0x[0-9a-f]+
2626
id = \1
2727
enqueuePriority = \.medium
@@ -45,7 +45,7 @@ def test_current_task(self):
4545
patterns=[
4646
textwrap.dedent(
4747
r"""
48-
\(UnsafeCurrentTask\) currentTask = id:(\d+) flags:(?:running\|)?asyncLetTask|childTask|future \{
48+
\(UnsafeCurrentTask\) currentTask = id:(\d+) flags:(?:running\|)?(?:enqueued\|)?asyncLetTask|childTask|future \{
4949
address = 0x[0-9a-f]+
5050
id = \1
5151
enqueuePriority = \.medium

0 commit comments

Comments
 (0)