Skip to content

Commit be449e6

Browse files
committed
---
yaml --- r: 346846 b: refs/heads/master c: 5a51976 h: refs/heads/master
1 parent be39566 commit be449e6

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: d02e1398242e8e06138af684f4c128fd304524fa
2+
refs/heads/master: 5a51976a3584ea2f74c6b1422fe8531d721e1c5f
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/test/stdlib/Intents.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,14 @@ 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

16-
if #available(OSX 10.12, iOS 10.0, watchOS 3.2, *) {
20+
#if !os(macOS)
21+
if #available(iOS 10.0, watchOS 3.2, *) {
1722

1823
IntentsTestSuite.test("ErrorDomain/\(swiftVersion)") {
1924
expectEqual("IntentsErrorDomain", INIntentErrorDomain)
@@ -23,6 +28,7 @@ if #available(OSX 10.12, iOS 10.0, watchOS 3.2, *) {
2328
expectEqual("IntentsErrorDomain", INIntentError.errorDomain)
2429
}
2530
}
31+
#endif
2632

2733
#if os(iOS)
2834
if #available(iOS 11.0, *) {

0 commit comments

Comments
 (0)