diff options
author | flywind <xzsflywind@gmail.com> | 2022-03-26 18:50:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-26 11:50:15 +0100 |
commit | 82319ef00dc9ce6f65b1664024a10ee5d9465f38 (patch) | |
tree | 49c013001ebb12cb81b19e91cec0c0bb1a187317 /tests/misc/trunner.nim | |
parent | 8cdd8867c0237c28f7a43e6f871507eda207a15d (diff) | |
download | Nim-82319ef00dc9ce6f65b1664024a10ee5d9465f38.tar.gz |
fix #8219; nim check/dump shouldn't run single nimscript project [backport: 1.6] (#19641)
* fix #8219; nim check/dump shouldn't run single nimscript project [backport: 1.6]
Diffstat (limited to 'tests/misc/trunner.nim')
-rw-r--r-- | tests/misc/trunner.nim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/misc/trunner.nim b/tests/misc/trunner.nim index f874d38d9..5d12c38b6 100644 --- a/tests/misc/trunner.nim +++ b/tests/misc/trunner.nim @@ -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}" |