File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -125,12 +125,12 @@ final class SwiftInterfaceTests: XCTestCase {
125125 return
126126 }
127127 let location = try XCTUnwrap ( jump. first)
128- XCTAssertTrue ( location. uri. pseudoPath. hasSuffix ( swiftInterfaceFile) )
128+ XCTAssertTrue ( location. uri. pseudoPath. hasSuffix ( swiftInterfaceFile) , " Path was: ' \( location . uri . pseudoPath ) ' " )
129129 // load contents of swiftinterface
130130 let contents = try XCTUnwrap ( location. uri. fileURL. flatMap ( { try String ( contentsOf: $0, encoding: . utf8) } ) )
131131 let lineTable = LineTable ( contents)
132132 let line = lineTable [ location. range. lowerBound. line]
133- XCTAssert ( line. hasPrefix ( linePrefix) )
133+ XCTAssert ( line. hasPrefix ( linePrefix) , " Full line was: ' \( line ) ' " )
134134 ws. closeDocument ( testLoc. url)
135135 }
136136
You can’t perform that action at this time.
0 commit comments