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

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