Skip to content

Commit 91989ec

Browse files
authored
Merge pull request #63917 from apple/rokhinip/105396748-async-task-priority-test
Reenable async_task_priority test
2 parents f73d2ab + 9800c03 commit 91989ec

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/Concurrency/async_task_priority.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
// UNSUPPORTED: DARWIN_SIMULATOR=ios
1919
// UNSUPPORTED: DARWIN_SIMULATOR=tvos
2020

21-
// REQUIRES: rdar105396748
22-
2321
import Darwin
2422
@preconcurrency import Dispatch
2523
import StdlibUnittest
@@ -41,7 +39,7 @@ func expectedBasePri(priority: TaskPriority) -> TaskPriority {
4139
let basePri = Task.basePriority!
4240
print("Testing basePri matching expected pri - \(basePri) == \(priority)")
4341
expectEqual(basePri, priority)
44-
Task.withUnsafeCurrentTask { unsafeTask in
42+
withUnsafeCurrentTask { unsafeTask in
4543
guard let unsafeTask else {
4644
fatalError("Expected to be able to get current task, but could not!")
4745
}

0 commit comments

Comments
 (0)