Test: SIL issues, #file as String
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user