summary refs log tree commit diff stats
path: root/tests/errmsgs
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-11-29 17:32:34 -0800
committerGitHub <noreply@github.com>2020-11-29 17:32:34 -0800
commit31a8cf16bbad69efbfbc6f7a593f2141cba06381 (patch)
treec7694e9f13aee85164617500abc09b5a78902531 /tests/errmsgs
parent6114df3c24e9c23bfbdbaa204bb100de9d170995 (diff)
downloadNim-31a8cf16bbad69efbfbc6f7a593f2141cba06381.tar.gz
testament spec: remove errmsg alias of errormsg (#16188)
Diffstat (limited to 'tests/errmsgs')
-rw-r--r--tests/errmsgs/t8610.nim2
-rw-r--r--tests/errmsgs/t9768.nim2
-rw-r--r--tests/errmsgs/tstaticexprscope.nim2
-rw-r--r--tests/errmsgs/ttypeAllowed.nim2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/errmsgs/t8610.nim b/tests/errmsgs/t8610.nim
index 6a253f7ab..d3405bc91 100644
--- a/tests/errmsgs/t8610.nim
+++ b/tests/errmsgs/t8610.nim
@@ -1,5 +1,5 @@
 discard """
-  errmsg: "invalid type: 'type int' for const"
+  errormsg: "invalid type: 'type int' for const"
 """
 ## issue #8610
 const Foo = int
diff --git a/tests/errmsgs/t9768.nim b/tests/errmsgs/t9768.nim
index d369150a5..b72a158c7 100644
--- a/tests/errmsgs/t9768.nim
+++ b/tests/errmsgs/t9768.nim
@@ -1,5 +1,5 @@
 discard """
-  errmsg: "unhandled exception:"
+  errormsg: "unhandled exception:"
   file: "system/fatal.nim"
   nimout: '''
 stack trace: (most recent call last)
diff --git a/tests/errmsgs/tstaticexprscope.nim b/tests/errmsgs/tstaticexprscope.nim
index 7af5bf9b3..6969e389e 100644
--- a/tests/errmsgs/tstaticexprscope.nim
+++ b/tests/errmsgs/tstaticexprscope.nim
@@ -1,5 +1,5 @@
 discard """
-  errmsg: "undeclared identifier: 'z'"
+  errormsg: "undeclared identifier: 'z'"
   line: 11
 """
 
diff --git a/tests/errmsgs/ttypeAllowed.nim b/tests/errmsgs/ttypeAllowed.nim
index 9efbc6ead..516b616e0 100644
--- a/tests/errmsgs/ttypeAllowed.nim
+++ b/tests/errmsgs/ttypeAllowed.nim
@@ -1,6 +1,6 @@
 discard """
 cmd: "nim check $file"
-errmsg: ""
+errormsg: ""
 nimout: '''
 ttypeAllowed.nim(13, 5) Error: invalid type: 'iterator (a: int, b: int, step: Positive): int{.inline, noSideEffect, gcsafe, locks: 0.}' for let
 ttypeAllowed.nim(17, 7) Error: invalid type: 'iterator (a: int, b: int, step: Positive): int{.inline, noSideEffect, gcsafe, locks: 0.}' for const