fixes testament regression due to changed '/' operator

This commit is contained in:
Araq
2018-12-13 15:39:39 +01:00
parent 6bdf7fdbce
commit 5d34dec97d

View File

@@ -292,8 +292,7 @@ proc generatedFile(test: TTest, target: TTarget): string =
let (_, name, _) = test.name.splitFile
let ext = targetToExt[target]
result = nimcacheDir(test.name, test.options, target) /
(if target == targetJS: "" else: "compiler_") &
name.changeFileExt(ext)
((if target == targetJS: "" else: "compiler_") & name.changeFileExt(ext))
proc needsCodegenCheck(spec: TSpec): bool =
result = spec.maxCodeSize > 0 or spec.ccodeCheck.len > 0