Skip to content

Commit 8d2f4d6

Browse files
committed
Guard tests
1 parent 9372179 commit 8d2f4d6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Tests/AsyncAlgorithmsTests/MultiProducerSingleConsumerChannel/MultiProducerSingleConsumerChannelTests.swift

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

12+
#if compiler(>=6.1)
1213
import AsyncAlgorithms
1314
import XCTest
1415

@@ -1114,3 +1115,4 @@ extension Optional where Wrapped: ~Copyable {
11141115
return result
11151116
}
11161117
}
1118+
#endif

Tests/AsyncAlgorithmsTests/Support/ManualExecutor.swift

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

12+
#if compiler(>=6.0)
1213
import DequeModule
1314
import Synchronization
1415

@@ -26,3 +27,4 @@ final class ManualTaskExecutor: TaskExecutor {
2627
}
2728
}
2829
}
30+
#endif

0 commit comments

Comments
 (0)