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

@@ -4,7 +4,10 @@ import Stencil
import XCTest
final class InheritanceTests: XCTestCase {
let path = Path(#file) + ".." + "fixtures"
let path: Path = {
let basePath: String = #file
return Path(basePath) + ".." + "fixtures"
}()
lazy var loader = FileSystemLoader(paths: [path])
lazy var environment = Environment(loader: loader)