summary refs log tree commit diff stats
path: root/tests/testament
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testament')
-rw-r--r--tests/testament/categories.nim2
-rw-r--r--tests/testament/tester.nim1
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/testament/categories.nim b/tests/testament/categories.nim
index c293be7e8..cb3649a38 100644
--- a/tests/testament/categories.nim
+++ b/tests/testament/categories.nim
@@ -215,7 +215,7 @@ proc manyLoc(r: var TResults, cat: Category, options: string) =
   for kind, dir in os.walkDir("tests/manyloc"):
     if kind == pcDir:
       let mainfile = findMainFile(dir)
-      if mainfile != ".nim":
+      if mainfile != "":
         testNoSpec r, makeTest(mainfile, options, cat)
 
 proc compileExample(r: var TResults, pattern, options: string, cat: Category) =
diff --git a/tests/testament/tester.nim b/tests/testament/tester.nim
index 7cf902704..4c1173fe3 100644
--- a/tests/testament/tester.nim
+++ b/tests/testament/tester.nim
@@ -146,7 +146,6 @@ proc codegenCheck(test: TTest, check: string, given: var TSpec) =
   try:
     let (path, name, ext2) = test.name.splitFile
     let genFile = generatedFile(path, name, test.target)
-    echo genFile
     let contents = readFile(genFile).string
     if check[0] == '\\':
       # little hack to get 'match' support: