summary refs log tree commit diff stats
path: root/tests/testament/categories.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testament/categories.nim')
-rw-r--r--tests/testament/categories.nim2
1 files changed, 1 insertions, 1 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) =