File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lldb/test/API/lang/swift/async/formatters/task Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def test_top_level_task(self):
21
21
patterns = [
22
22
textwrap .dedent (
23
23
r"""
24
- \(Task<\(\), Error>\) task = id:(\d+) flags:(?:running\|)?enqueued\|future \{
24
+ \(Task<\(\), Error>\) task = id:(\d+) flags:(?:running\|)?(?: enqueued\|)? future \{
25
25
address = 0x[0-9a-f]+
26
26
id = \1
27
27
enqueuePriority = \.medium
@@ -45,7 +45,7 @@ def test_current_task(self):
45
45
patterns = [
46
46
textwrap .dedent (
47
47
r"""
48
- \(UnsafeCurrentTask\) currentTask = id:(\d+) flags:(?:running\|)?asyncLetTask|childTask|future \{
48
+ \(UnsafeCurrentTask\) currentTask = id:(\d+) flags:(?:running\|)?(?:enqueued\|)? asyncLetTask|childTask|future \{
49
49
address = 0x[0-9a-f]+
50
50
id = \1
51
51
enqueuePriority = \.medium
You can’t perform that action at this time.
0 commit comments