Skip to content

Commit 4c21dd4

Browse files
committed
[nfc] Fix notification test
1 parent eff1ed8 commit 4c21dd4

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

test/Interop/Cxx/objc-correctness/Inputs/module.modulemap

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,9 @@ module CxxClassWithNSStringInit [extern_c] {
1212
module NSOptionsMangling {
1313
header "NSOptionsMangling.h"
1414
}
15+
16+
module NSNofiticationBridging {
17+
header "nsnotification-bridging.h"
18+
requires objc
19+
requires cplusplus
20+
}

test/Interop/Cxx/objc-correctness/nsnotification-bridging-ide-test.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
// REQUIRES: objc_interop
44

5-
// CHECK: @_exported import Foundation
5+
// CHECK: import Foundation
66

7-
// CHECK: @available(swift, obsoleted: 3, renamed: "NSNotification.Name.SpaceShip")
8-
// CHECK: let SpaceShipNotification: NSNotification.Name
7+
// CHECK: let SpaceShipNotification: String

0 commit comments

Comments
 (0)