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 {
125
125
return
126
126
}
127
127
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 ) ' " )
129
129
// load contents of swiftinterface
130
130
let contents = try XCTUnwrap ( location. uri. fileURL. flatMap ( { try String ( contentsOf: $0, encoding: . utf8) } ) )
131
131
let lineTable = LineTable ( contents)
132
132
let line = lineTable [ location. range. lowerBound. line]
133
- XCTAssert ( line. hasPrefix ( linePrefix) )
133
+ XCTAssert ( line. hasPrefix ( linePrefix) , " Full line was: ' \( line ) ' " )
134
134
ws. closeDocument ( testLoc. url)
135
135
}
136
136
You can’t perform that action at this time.
0 commit comments