Skip to content

Commit b9b565a

Browse files
committed
[SourceKit] Mark more tests as needing ObjC interop
1 parent 2e9f13e commit b9b565a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

test/SourceKit/CodeComplete/complete_filter_rules.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ struct TestHideName {
1010
func hideThis4(namedParam1 x: Int, namedParam2: Int) {}
1111
func dontHideThisByName() {}
1212

13-
// XFAIL: broken_std_regex
13+
// REQUIRES: objc_interop
1414

1515
// RUN: %complete-test -filter-rules=%S/Inputs/filter-rules/hideNames.json -tok=HIDE_NAMES_1 %s -- -F %S/../Inputs/libIDE-mock-sdk | FileCheck %s -check-prefix=HIDE_NAMES
1616
func testHideName01() {

test/SourceKit/CodeComplete/complete_hide_low_priority.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// XFAIL: broken_std_regex
1+
// REQUIRES: objc_interop
22
// RUN: %complete-test -hide-low-priority=1 -tok=TOP_LEVEL_0 %s -- -I %S/Inputs > %t.on
33
// RUN: %complete-test -hide-low-priority=0 -tok=TOP_LEVEL_0 %s -- -I %S/Inputs > %t.off
44

test/SourceKit/CodeComplete/complete_popular_api.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ struct Foo {
1717
var zmeh: Int
1818
}
1919

20-
// XFAIL: broken_std_regex
20+
// REQUIRES: objc_interop
2121
// RUN: %sourcekitd-test -req=complete.open -pos=2:1 -req-opts=hidelowpriority=0 %s -- %s > %t.nopopular.top
2222
// RUN: %sourcekitd-test -req=complete.open -pos=3:5 %s -- %s > %t.nopopular.foo
2323
// RUN: FileCheck %s -check-prefix=NOPOP_TOP < %t.nopopular.top

test/SourceKit/CodeComplete/complete_underscores.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ enum Norf {
3232
func test001() {
3333
#^TOP_LEVEL_0,,_^#
3434
}
35-
// XFAIL: broken_std_regex
35+
// REQUIRES: objc_interop
3636
// RUN: %complete-test %s -hide-none -tok=TOP_LEVEL_0 -- -F %S/../Inputs/libIDE-mock-sdk | FileCheck %s -check-prefix=TOP_LEVEL_0
3737
// TOP_LEVEL_0-LABEL: Results for filterText: [
3838
// TOP_LEVEL_0-DAG: Foo

0 commit comments

Comments
 (0)