Skip to content

Commit 2b26771

Browse files
committed
Only test share on 6.2 or newer
1 parent 0e0543d commit 2b26771

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tests/AsyncAlgorithmsTests/TestShare.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

12+
#if compiler(>=6.2)
13+
1214
import XCTest
1315
import AsyncAlgorithms
1416
import Synchronization
@@ -577,3 +579,5 @@ final class TestShare: XCTestCase {
577579
private enum TestError: Error, Equatable {
578580
case failure
579581
}
582+
583+
#endif

0 commit comments

Comments
 (0)