Skip to content

Commit 3a7419f

Browse files
committed
Fix swiftVersion usage in the test
1 parent 706f15f commit 3a7419f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/stdlib/Intents.swift

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

1212
let IntentsTestSuite = TestSuite("Intents")
1313

14+
#if swift(>=4.2)
15+
let swiftVersion = "4.2"
16+
#else
1417
let swiftVersion = "4"
18+
#endif
1519

1620
if #available(OSX 10.12, iOS 10.0, watchOS 3.2, *) {
1721

0 commit comments

Comments
 (0)