cleanup tgorge test

This commit is contained in:
Araq 2016-10-24 20:10:10 +02:00
commit bad35a2709
2 changed files with 2 additions and 2 deletions

View file

@ -4,9 +4,9 @@ template getScriptDir(): string =
parentDir(instantiationInfo(-1, true).filename)
const
execName = when defined(windows): "tgorge.bat" else: "./tgorge.sh"
execName = when defined(windows): "tgorge.bat" else: "sh tgorge.sh"
relOutput = gorge(execName)
absOutput = gorge(getScriptDir() / execName)
doAssert relOutput == "gorge test"
doAssert absOutput == "gorge test"
doAssert absOutput == "gorge test"