Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Commit faa347f

Browse files
author
Alex Belozierov
committed
- update tests
1 parent 7665f1c commit faa347f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/SwiftCoroutineTests/Coroutine/PseudoCoroutineTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import XCTest
1111

1212
class PseudoCoroutineTests: XCTestCase {
1313

14+
#if os(macOS)
1415
func testNestedMain() {
1516
let result = try? PseudoCoroutine.shared.await(on: DispatchQueue.main) {
1617
() throws -> Int in
@@ -19,6 +20,7 @@ class PseudoCoroutineTests: XCTestCase {
1920
}
2021
XCTAssertEqual(result, 1)
2122
}
23+
#endif
2224

2325
func testSuccess() {
2426
let result = PseudoCoroutine.shared.await(on: DispatchQueue.global()) { () -> Int in

0 commit comments

Comments
 (0)