Test: SIL issues, #file as String

This commit is contained in:
kawoou
2019-04-15 13:35:33 +09:00
parent 3c973689a4
commit 4020a9851a
5 changed files with 6 additions and 16 deletions

View File

@@ -117,8 +117,7 @@ final class LexerTests: XCTestCase {
}
func testPerformance() throws {
let basePath: String = #file
let path = Path(basePath) + ".." + "fixtures" + "huge.html"
let path = Path(#file as String) + ".." + "fixtures" + "huge.html"
let content: String = try path.read()
measure {