summary refs log tree commit diff stats
path: root/testament
diff options
context:
space:
mode:
authorflywind <43030857+xflywind@users.noreply.github.com>2021-01-11 11:02:53 -0600
committerGitHub <noreply@github.com>2021-01-11 18:02:53 +0100
commitda28df6113cdc552ad2ef3a029638efd9bfdadf2 (patch)
treeab05b0ac63e2f14d5b73f251f59c84c98cd94638 /testament
parent5af13c5aceaedf211ff59113384bcb6a85c35c2b (diff)
downloadNim-da28df6113cdc552ad2ef3a029638efd9bfdadf2.tar.gz
remove deprecated specs (#16684)
Diffstat (limited to 'testament')
-rw-r--r--testament/specs.nim4
-rw-r--r--testament/tests/shouldfail/tmsg.nim6
2 files changed, 0 insertions, 10 deletions
diff --git a/testament/specs.nim b/testament/specs.nim
index 58fe7bf4f..48fe51658 100644
--- a/testament/specs.nim
+++ b/testament/specs.nim
@@ -303,10 +303,6 @@ proc parseSpec*(filename: string): TSpec =
       of "exitcode":
         discard parseInt(e.value, result.exitCode)
         result.action = actionRun
-      of "msg":
-        result.msg = e.value
-        if result.action != actionRun:
-          result.action = actionCompile
       of "errormsg":
         result.msg = e.value
         result.action = actionReject
diff --git a/testament/tests/shouldfail/tmsg.nim b/testament/tests/shouldfail/tmsg.nim
deleted file mode 100644
index 4ad17fa95..000000000
--- a/testament/tests/shouldfail/tmsg.nim
+++ /dev/null
@@ -1,6 +0,0 @@
-discard """
-msg: "Hello World"
-"""
-
-static:
-  echo "something else"