Skip to content

Commit

Permalink
Fix VariableTests
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Jun 25, 2022
1 parent 3c48510 commit 109949e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/SwiftSyntaxBuilderTest/VariableTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ final class VariableTests: XCTestCase {
}

let syntax = buildable.buildSyntax(format: Format(), leadingTrivia: leadingTrivia)
XCTAssertEqual(syntax.description, "␣var d: [String: Int] = [:]")
XCTAssertEqual(syntax.description, "␣var d: [String: Int] = [: ]")
}

func testVariableDeclWithExplictiTrailingCommas() {
Expand Down

0 comments on commit 109949e

Please sign in to comment.