cleanup nimsuggest tests

This commit is contained in:
Andreas Rumpf 2016-11-05 09:07:51 +01:00
commit d606f6b348
2 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@ type
script: seq[(string, string)]
const
curDir = when defined(windows): "" else: "./"
curDir = when defined(windows): "" else: ""
DummyEof = "!EOF!"
proc parseTest(filename: string): Test =
@ -90,7 +90,7 @@ proc runTest(filename: string): int =
proc main() =
var failures = 0
for x in walkFiles("tests/t*.nim"):
for x in walkFiles(getAppDir() / "tests/t*.nim"):
echo "Test ", x
failures += runTest(expandFilename(x))
if failures > 0: