Avatar
SwiftSyntax のテストにMirrorDiffKit 使いたい。。。
11:11 AM
非人道的な差分が出るので。。。
11:13 AM
様子 XCTAssertEqual failed: ("▿ SwiftSyntax.ReversedTokenSequence ▿ node: SwiftSyntax.ArrayExprSyntax ▿ leftSquare: SwiftSyntax.TokenSyntax - text: "]" ▿ leadingTrivia: SwiftSyntax.Trivia - pieces: 0 elements ▿ trailingTrivia: SwiftSyntax.Trivia - pieces: 0 elements - tokenKind: SwiftSyntax.TokenKind.rightSquareBracket ▿ rightSquare: SwiftSyntax.TokenSyntax - text: "[" ▿ leadingTrivia: SwiftSyntax.Trivia - pieces: 0 elements ▿ trailingTrivia: SwiftSyntax.Trivia - pieces: 0 elements - tokenKind: SwiftSyntax.TokenKind.leftSquareBracket ") is not equal to ("▿ SwiftSyntax.ReversedTokenSequence ▿ node: SwiftSyntax.ArrayExprSyntax ▿ leftSquare: SwiftSyntax.TokenSyntax - text: "[" ▿ leadingTrivia: SwiftSyntax.Trivia - pieces: 0 elements ▿ trailingTrivia: SwiftSyntax.Trivia - pieces: 0 elements - tokenKind: SwiftSyntax.TokenKind.leftSquareBracket - elements: SwiftSyntax.ArrayElementListSyntax ▿ rightSquare: SwiftSyntax.TokenSyntax - text: "]" ▿ leadingTrivia: SwiftSyntax.Trivia - pieces: 0 elements ▿ trailingTrivia: SwiftSyntax.Trivia - pieces: 0 elements - tokenKind: SwiftSyntax.TokenKind.rightSquareBracket ")
😯 1