Skip to content

Commit 396ca71

Browse files
committed
Update a testcase for the change
1 parent 026d472 commit 396ca71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/SwiftParserTest/DeclarationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ final class DeclarationTests: XCTestCase {
917917
diagnostics: [
918918
DiagnosticSpec(locationMarker: "1️⃣", message: "expected ':' in parameter"),
919919
DiagnosticSpec(locationMarker: "2️⃣", message: "expected ')' to end parameter clause"),
920-
DiagnosticSpec(locationMarker: "3️⃣", message: "unexpected code ': Int)' in function"),
920+
DiagnosticSpec(locationMarker: "3️⃣", message: "extraneous code ': Int) {}' at top level"),
921921
]
922922
)
923923
}

0 commit comments

Comments
 (0)