Skip to content

Commit 58356f9

Browse files
committed
Update test case now that we produce fewer redundant diagnostics.
1 parent e53fa3f commit 58356f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Sema/availability_versions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1345,7 +1345,7 @@ func testForFixitWithNestedMemberRefExpr() {
13451345
// Protocol Conformances
13461346

13471347
protocol ProtocolWithRequirementMentioningUnavailable {
1348-
// expected-note@-1 6{{add @available attribute to enclosing protocol}}
1348+
// expected-note@-1 4{{add @available attribute to enclosing protocol}}
13491349
func hasUnavailableParameter(_ p: ClassAvailableOn10_51) // expected-error * {{'ClassAvailableOn10_51' is only available on OS X 10.51 or newer}}
13501350
// expected-note@-1 * {{add @available attribute to enclosing instance method}}
13511351

0 commit comments

Comments
 (0)