File tree Expand file tree Collapse file tree 2 files changed +3
-14
lines changed
stdlib/public/SDK/Intents Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 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-
117import Intents
128import StdlibUnittest
139
1410let IntentsTestSuite = TestSuite ( " Intents " )
1511
1612IntentsTestSuite . test ( " ErrorDomain " ) {
17- expectEqual ( " INIntentErrorDomain " , INIntentErrorDomain)
13+ expectEqual ( " IntentsErrorDomain " , INIntentErrorDomain)
1814}
1915
2016IntentsTestSuite . test ( " extension " ) {
21- expectEqual ( " INIntentErrorDomain " , INIntentErrorCode . _nsErrorDomain)
17+ expectEqual ( " IntentsErrorDomain " , INIntentErrorCode . _nsErrorDomain)
2218}
2319
2420runAllTests ( )
You can’t perform that action at this time.
0 commit comments