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

@@ -5,8 +5,7 @@ import XCTest
final class TemplateLoaderTests: XCTestCase {
func testFileSystemLoader() {
let basePath: String = #file
let path = Path(basePath) + ".." + "fixtures"
let path = Path(#file as String) + ".." + "fixtures"
let loader = FileSystemLoader(paths: [path])
let environment = Environment(loader: loader)