summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--testament/tester.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/testament/tester.nim b/testament/tester.nim
index 6d9e05aa9..48e9f1913 100644
--- a/testament/tester.nim
+++ b/testament/tester.nim
@@ -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