Skip to content

Commit 9ad3a89

Browse files
committed
fix: Fix unit test expectations for linux. Take two.
1 parent e2ee220 commit 9ad3a89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/DispatchAsyncTests/DispatchQueueTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func testBasicDispatchQueueMain() async throws {
2828
// On linux platforms, there is no guarantee that the main queue is on the main thread,
2929
// only that it is on the main actor.
3030

31-
#if os(LINUX)
31+
#if os(Linux)
3232
#expect(DispatchQueue.isMain)
3333
#elseif !os(WASI)
3434
#expect(Thread.isMainThread) // NOTE: Thread API's aren't currently available on OS(WASI), as of June 2025

0 commit comments

Comments
 (0)