Files
Nim/tests/misc/t20456_2.nim
ringabout 81e7811e01 fixes nim check with orc (#20456)
* fixes nim check with orc

* fixes tests

* add tests

* fixes tests

* Update tests/arc/t20456.nim
2022-10-02 06:44:10 +02:00

15 lines
302 B
Nim

discard """
joinable: false
"""
import std/[osproc, os, strformat]
from stdtest/specialpaths import testsDir
when defined(nimPreviewSlimSystem):
import std/assertions
const
nim = getCurrentCompilerExe()
file = testsDir / "misc" / "m20456.nims"
doAssert execCmd(fmt"{nim} check {file}") == 0