diff --git a/lldb/test/API/lang/swift/async/formatters/task/TestSwiftTaskSyntheticProvider.py b/lldb/test/API/lang/swift/async/formatters/task/TestSwiftTaskSyntheticProvider.py index a68572f522229..a51c61dcda0d0 100644 --- a/lldb/test/API/lang/swift/async/formatters/task/TestSwiftTaskSyntheticProvider.py +++ b/lldb/test/API/lang/swift/async/formatters/task/TestSwiftTaskSyntheticProvider.py @@ -21,7 +21,7 @@ def test_top_level_task(self): patterns=[ textwrap.dedent( r""" - \(Task<\(\), Error>\) task = id:(\d+) flags:(?:running\|)?enqueued\|future \{ + \(Task<\(\), Error>\) task = id:(\d+) flags:(?:running\|)?(?:enqueued\|)?future \{ address = 0x[0-9a-f]+ id = \1 enqueuePriority = \.medium @@ -45,7 +45,7 @@ def test_current_task(self): patterns=[ textwrap.dedent( r""" - \(UnsafeCurrentTask\) currentTask = id:(\d+) flags:(?:running\|)?asyncLetTask|childTask|future \{ + \(UnsafeCurrentTask\) currentTask = id:(\d+) flags:(?:running\|)?(?:enqueued\|)?asyncLetTask|childTask|future \{ address = 0x[0-9a-f]+ id = \1 enqueuePriority = \.medium