We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2ee220 commit 9ad3a89Copy full SHA for 9ad3a89
Tests/DispatchAsyncTests/DispatchQueueTests.swift
@@ -28,7 +28,7 @@ func testBasicDispatchQueueMain() async throws {
28
// On linux platforms, there is no guarantee that the main queue is on the main thread,
29
// only that it is on the main actor.
30
31
- #if os(LINUX)
+ #if os(Linux)
32
#expect(DispatchQueue.isMain)
33
#elseif !os(WASI)
34
#expect(Thread.isMainThread) // NOTE: Thread API's aren't currently available on OS(WASI), as of June 2025
0 commit comments