Skip to content

Commit 3682d1f

Browse files
committed
Remove TODOs from ForeachTests
1 parent b4e38c1 commit 3682d1f

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

Tests/SwiftParserTest/translated/ForeachAsyncTests.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,7 @@ final class ForeachAsyncTests: XCTestCase {
6868
}
6969
""",
7070
diagnostics: [
71-
// TODO: Old parser expected error on line 21: found an unexpected second identifier in constant declaration
72-
// TODO: Old parser expected note on line 21: join the identifiers together
73-
// TODO: Old parser expected note on line 21: join the identifiers together with camel-case
74-
// TODO: Old parser expected error on line 21: expected 'in' after for-each pattern
75-
// TODO: Old parser expected error on line 21: expected Sequence expression for for-each loop
7671
DiagnosticSpec(locationMarker: "1️⃣", message: "expected 'in' in 'for' statement"),
77-
// TODO: Old parser expected error on line 23: expected '{' to start the body of for-each loop
7872
DiagnosticSpec(locationMarker: "2️⃣", message: "expected '{' in 'for' statement"),
7973
DiagnosticSpec(locationMarker: "3️⃣", message: "expected '}' to end 'for' statement"),
8074
]

Tests/SwiftParserTest/translated/ForeachTests.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,7 @@ final class ForeachTests: XCTestCase {
4545
}
4646
""",
4747
diagnostics: [
48-
// TODO: Old parser expected error on line 21: found an unexpected second identifier in constant declaration
49-
// TODO: Old parser expected note on line 21: join the identifiers together
50-
// TODO: Old parser expected note on line 21: join the identifiers together with camel-case
51-
// TODO: Old parser expected error on line 21: expected 'in' after for-each pattern
52-
// TODO: Old parser expected error on line 21: expected Sequence expression for for-each loop
5348
DiagnosticSpec(locationMarker: "1️⃣", message: "expected 'in' in 'for' statement"),
54-
// TODO: Old parser expected error on line 23: expected '{' to start the body of for-each loop
5549
DiagnosticSpec(locationMarker: "2️⃣", message: "expected '{' in 'for' statement"),
5650
DiagnosticSpec(locationMarker: "3️⃣", message: "expected '}' to end 'for' statement"),
5751
]

0 commit comments

Comments
 (0)