* fix #8219; nim check/dump shouldn't run single nimscript project [backport: 1.6]
This commit is contained in:
parent
8cdd8867c0
commit
82319ef00d
3 changed files with 9 additions and 5 deletions
|
|
@ -249,6 +249,11 @@ tests/newconfig/bar/mfoo.nims""".splitLines
|
|||
expected.add &"Hint: used config file '{b}' [Conf]\n"
|
||||
doAssert outp.endsWith expected, outp & "\n" & expected
|
||||
|
||||
block: # bug #8219
|
||||
let file = "tests/newconfig/mconfigcheck.nims"
|
||||
let cmd = fmt"{nim} check --hints:off {file}"
|
||||
check execCmdEx(cmd) == ("", 0)
|
||||
|
||||
block: # mfoo2.customext
|
||||
let filename = testsDir / "newconfig/foo2/mfoo2.customext"
|
||||
let cmd = fmt"{nim} e --hint:conf {filename}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue