Fix tests some more

This commit is contained in:
def 2015-03-17 00:02:47 +01:00
commit cb3c99fe1f
11 changed files with 22 additions and 25 deletions

View file

@ -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) =