mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-03 03:32:32 +00:00
* fixes nim check with orc * fixes tests * add tests * fixes tests * Update tests/arc/t20456.nim
15 lines
302 B
Nim
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
|