summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tester.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tester.nim b/tests/tester.nim
index 93fc3f433..a309de12d 100755
--- a/tests/tester.nim
+++ b/tests/tester.nim
@@ -48,6 +48,7 @@ proc extractSpec(filename: string): string =
     result = x.copy(a+3, b-1).replace("'''", tripleQuote)
   else:
     echo "warning: file does not contain spec: " & filename
+    result = ""
 
 template parseSpecAux(fillResult: stmt) = 
   var ss = newStringStream(extractSpec(filename))