testament spec: remove errmsg alias of errormsg (#16188)

This commit is contained in:
Timothee Cour 2020-11-29 17:32:34 -08:00 • committed by GitHub
commit 31a8cf16bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 14 additions and 14 deletions

View file

@ -306,7 +306,7 @@ proc parseSpec*(filename: string): TSpec =
result.msg = e.value
if result.action != actionRun:
result.action = actionCompile
of "errormsg", "errmsg": # xxx just use errormsg, no need for such aliases
of "errormsg":
result.msg = e.value
result.action = actionReject
of "nimout":

View file

@ -1,5 +1,5 @@
discard """
errmsg: "undeclared identifier: 'undefined'"
errormsg: "undeclared identifier: 'undefined'"
file: "notthisfile.nim"
"""