8000 Apply review fixes · swiftlang/swift-syntax@bd3484b · GitHub
[go: up one dir, main page]

Skip to content

Commit bd3484b

Browse files
committed
Apply review fixes
1 parent 5d9650b commit bd3484b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/SwiftSyntax/SwiftSyntax.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public enum ParserError: Error, CustomStringConvertible {
2727
case invalidFile
2828

2929
public var description: String {
30-
switch self{
30+
switch self {
3131
case let .swiftcFailed(exitCode, stderr):
3232
let stderrLines = stderr.split(separator: "\n")
3333
return """

Tests/SwiftSyntaxTest/VisitorTest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public class SyntaxVisitorTestCase: XCTestCase {
7272
let parsed = try SyntaxTreeParser.parse(getInput("nested-blocks.swift"))
7373
let visitor = VisitCollections()
7474
visitor.visit(parsed)
75-
XCTAssertEqual(4, visitor.numberOfCodeBlockItems)
75+
XCTAssertEqual(visitor.numberOfCodeBlockItems, 4)
7676
}())
7777
}
7878
}

0 commit comments

Comments
 (0)
0