Skip to content

Commit fa880f3

Browse files
authored
Merge pull request swiftlang#386 from allevato/invalid-syntax-change
Fix the column of a parse error.
2 parents f87ecde + 42ef30a commit fa880f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/SwiftFormatTests/SyntaxValidatingVisitorTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ final class SyntaxValidatingVisitorTests: XCTestCase {
2828
var bar = 0
2929
}
3030
"""
31-
assertInvalidSyntax(in: input, atLine: 1, column: 1)
31+
assertInvalidSyntax(in: input, atLine: 1, column: 7)
3232

3333
input =
3434
"""

0 commit comments

Comments
 (0)