Skip to content

Commit 22ccda1

Browse files
Max Moiseevshahmishal
authored andcommitted
Fixing the Intents overlay
1 parent a77ca2d commit 22ccda1

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

stdlib/public/SDK/Intents/Intents.swift

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,4 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
@_exported import Intents
14-
import Foundation
15-
16-
@available(iOS, introduced: 10.0)
17-
@available(OSX, introduced: 10.12)
18-
extension INIntentErrorCode : _BridgedNSError {
19-
public static var _nsErrorDomain: String { return INIntentErrorDomain }
20-
}
13+
// IMPORTANT: This file is required by the build system. Don't remove it.

test/1_stdlib/Intents.swift

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,17 @@
44
// Intents is only public on OS X and iOS
55
// UNSUPPORTED: OS=watchos, OS=tvos
66

7-
// FIXME: un-XFAIL the test once the build bots have been updated to the
8-
// more recent SDK versions.
9-
// XFAIL: *
10-
117
import Intents
128
import StdlibUnittest
139

1410
let IntentsTestSuite = TestSuite("Intents")
1511

1612
IntentsTestSuite.test("ErrorDomain") {
17-
expectEqual("INIntentErrorDomain", INIntentErrorDomain)
13+
expectEqual("IntentsErrorDomain", INIntentErrorDomain)
1814
}
1915

2016
IntentsTestSuite.test("extension") {
21-
expectEqual("INIntentErrorDomain", INIntentErrorCode._nsErrorDomain)
17+
expectEqual("IntentsErrorDomain", INIntentErrorCode._nsErrorDomain)
2218
}
2319

2420
runAllTests()

0 commit comments

Comments
 (0)