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 10
10
//
11
11
//===----------------------------------------------------------------------===//
12
12
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 4
4
// Intents is only public on OS X and iOS
5
5
// UNSUPPORTED: OS=watchos, OS=tvos
6
6
7
- // FIXME: un-XFAIL the test once the build bots have been updated to the
8
- // more recent SDK versions.
9
- // XFAIL: *
10
-
11
7
import Intents
12
8
import StdlibUnittest
13
9
14
10
let IntentsTestSuite = TestSuite ( " Intents " )
15
11
16
12
IntentsTestSuite . test ( " ErrorDomain " ) {
17
- expectEqual ( " INIntentErrorDomain " , INIntentErrorDomain)
13
+ expectEqual ( " IntentsErrorDomain " , INIntentErrorDomain)
18
14
}
19
15
20
16
IntentsTestSuite . test ( " extension " ) {
21
- expectEqual ( " INIntentErrorDomain " , INIntentErrorCode . _nsErrorDomain)
17
+ expectEqual ( " IntentsErrorDomain " , INIntentErrorCode . _nsErrorDomain)
22
18
}
23
19
24
20
runAllTests ( )
You can’t perform that action at this time.
0 commit comments