mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
cleanup tgorge test
This commit is contained in:
@@ -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"
|
||||
|
||||
0
tests/vm/tgorge.sh
Executable file → Normal file
0
tests/vm/tgorge.sh
Executable file → Normal file
Reference in New Issue
Block a user