Fix swift SIL exception

This commit is contained in:
kawoou
2019-04-05 13:36:03 +09:00
parent 06ea016fd7
commit 3c973689a4
8 changed files with 20 additions and 10 deletions

View File

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