Skip to content

Commit 28cc1b0

Browse files
committed
Remove handled TODOs from DollarIdentifierTests.swift
1 parent ea0e2b2 commit 28cc1b0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Tests/SwiftParserTest/translated/DollarIdentifierTests.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ final class DollarIdentifierTests: XCTestCase {
4949
}
5050
""",
5151
diagnostics: [
52-
DiagnosticSpec(message: "'$' is not a valid identifier")
53-
// TODO: Old parser expected error on line 3: '$' is not an identifier; use backticks to escape it, Fix-It replacements: 9 - 10 = '`$`'
52+
DiagnosticSpec(message: "'$' is not a valid identifier", fixIts: ["if this name is unavoidable, use backticks to escape it"])
5453
]
5554
)
5655
}
@@ -118,7 +117,6 @@ final class DollarIdentifierTests: XCTestCase {
118117
$(1️⃣$: 24)
119118
""",
120119
diagnostics: [
121-
// TODO: Old parser expected error on line 3: '$' is not an identifier; use backticks to escape it, Fix-It replacements: 3 - 4 = '`$`'
122120
DiagnosticSpec(message: "'$' is not a valid identifier")
123121
]
124122
)
@@ -171,7 +169,6 @@ final class DollarIdentifierTests: XCTestCase {
171169
}
172170
""",
173171
diagnostics: [
174-
// TODO: Old parser expected error on line 3: expected expression
175172
DiagnosticSpec(message: "unexpected code in function")
176173
]
177174
)

0 commit comments

Comments
 (0)