Skip to content

Commit 252738a

Browse files
committed
Fix test case
1 parent 83cc98d commit 252738a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/Interpreter/SDK/objc_swift3_deprecated_objc_inference.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var DeprecatedObjCInferenceTestSuite = TestSuite("DeprecatedObjCInferenceTestSui
2525

2626
class MyClass : NSObject {
2727
// The line numbers of the next two methods are mentioned in the CHECK lines
28-
// below. Please keep them as 26 and 27.
28+
// below. Please keep them as 29 and 30.
2929
func foo() { }
3030
class func bar() { }
3131
}
@@ -45,15 +45,15 @@ DeprecatedObjCInferenceTestSuite.test("messagingObjCInference") {
4545
// CHECK_CRASH: ---Begin
4646
fputs("---Begin\n", stderr)
4747

48-
// CHECK_WARNINGS: .swift:26:3: implicit Objective-C entrypoint -[a.MyClass foo]
49-
// CHECK_CRASH: .swift:26:3: implicit Objective-C entrypoint -[a.MyClass foo]
48+
// CHECK_WARNINGS: .swift:29:3: implicit Objective-C entrypoint -[a.MyClass foo]
49+
// CHECK_CRASH: .swift:29:3: implicit Objective-C entrypoint -[a.MyClass foo]
5050
x.perform(Selector(fooSel))
51-
// CHECK_WARNINGS-NOT: .swift:26:3: implicit Objective-C entrypoint -[a.MyClass foo]
51+
// CHECK_WARNINGS-NOT: .swift:29:3: implicit Objective-C entrypoint -[a.MyClass foo]
5252
x.perform(Selector(fooSel))
5353

54-
// CHECK_WARNINGS: .swift:27:3: implicit Objective-C entrypoint +[a.MyClass bar]
54+
// CHECK_WARNINGS: .swift:30:3: implicit Objective-C entrypoint +[a.MyClass bar]
5555
type(of: x).perform(Selector(barSel))
56-
// CHECK_WARNINGS-NOT: .swift:27:3: implicit Objective-C entrypoint +[a.MyClass bar]
56+
// CHECK_WARNINGS-NOT: .swift:30:3: implicit Objective-C entrypoint +[a.MyClass bar]
5757
type(of: x).perform(Selector(barSel))
5858

5959
// CHECK_NOTHING-NEXT: ---End

0 commit comments

Comments
 (0)