summary refs log tree commit diff stats
path: root/tests/newconfig
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2022-03-26 18:50:15 +0800
committerGitHub <noreply@github.com>2022-03-26 11:50:15 +0100
commit82319ef00dc9ce6f65b1664024a10ee5d9465f38 (patch)
tree49c013001ebb12cb81b19e91cec0c0bb1a187317 /tests/newconfig
parent8cdd8867c0237c28f7a43e6f871507eda207a15d (diff)
downloadNim-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/newconfig')
-rw-r--r--tests/newconfig/mconfigcheck.nims (renamed from tests/newconfig/tconfigcheck.nims)6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/newconfig/tconfigcheck.nims b/tests/newconfig/mconfigcheck.nims
index 2e12a0bda..8df6715f6 100644
--- a/tests/newconfig/tconfigcheck.nims
+++ b/tests/newconfig/mconfigcheck.nims
@@ -1,11 +1,9 @@
-discard """
-  cmd: "nim check $file"
-"""
-
 mode = ScriptMode.Verbose
 proc build() =
   echo "building nim... "
   exec "sleep 10"
+  exec "nonexistant command"
   echo getCurrentDir()
 
 echo "hello"
+build()