Skip to content

Commit 25d74fe

Browse files
committed
Remove duplicated test case
1 parent 1ced4b3 commit 25d74fe

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/PrintAsObjC/availability.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@
102102
// CHECK-SAME: SWIFT_AVAILABILITY(macos,unavailable,message="'unavailableOnMacOSMethodRenamedToSimpleProperty' has been renamed to 'simpleProperty'");
103103

104104
// CHECK-NEXT: - (NSInteger)methodReturningInt SWIFT_WARN_UNUSED_RESULT;
105-
// CHECK-NEXT: - (NSInteger)methodRenamedToMethodWithoutCustomObjCNameWithValue:(NSInteger)value SWIFT_WARN_UNUSED_RESULT
106-
// CHECK-SAME: SWIFT_DEPRECATED_MSG("", "methodWithoutCustomObjCNameWithValue:")
107105
// CHECK-NEXT: - (NSInteger)methodWithoutCustomObjCNameWithValue:(NSInteger)value SWIFT_WARN_UNUSED_RESULT;
108106

109107
// CHECK-NEXT: - (NSInteger)deprecatedMethodRenamedToMethodWithoutCustomObjCNameWithValue:(NSInteger)value SWIFT_WARN_UNUSED_RESULT
@@ -395,9 +393,7 @@
395393
@objc public func unavailableOnMacOSMethodRenamedToSimpleProperty() {}
396394

397395
@objc(methodReturningInt) public func simpleMethodReturningInt() -> Int { return -1 }
398-
399-
@available(*, deprecated, renamed: "methodWithoutCustomObjCName(value:)")
400-
@objc public func methodRenamedToMethodWithoutCustomObjCName(value: Int) -> Int { return -1 }
396+
401397
@objc public func methodWithoutCustomObjCName(value: Int) -> Int { return -1 }
402398

403399
@available(*, deprecated, renamed: "methodWithoutCustomObjCName(value:)")

0 commit comments

Comments
 (0)