summary refs log tree commit diff stats
path: root/tests/controlflow
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2018-12-04 07:48:08 -0800
committerAndreas Rumpf <rumpf_a@web.de>2018-12-04 16:48:08 +0100
commitd502ddea9ec16a5ca12c070dd30030bbb9471e57 (patch)
treeb9dbc7b9acb3f9e5a86975739616dc8b474b8351 /tests/controlflow
parente3e5ae287f9a10ab9ee350e64982f21c44238594 (diff)
downloadNim-d502ddea9ec16a5ca12c070dd30030bbb9471e57.tar.gz
fix #9832 (fixup) (#9859)
Diffstat (limited to 'tests/controlflow')
-rw-r--r--tests/controlflow/tstatret.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/controlflow/tstatret.nim b/tests/controlflow/tstatret.nim
index 8327d3ee3..8f43c5d8f 100644
--- a/tests/controlflow/tstatret.nim
+++ b/tests/controlflow/tstatret.nim
@@ -1,7 +1,7 @@
 discard """
   file: "tstatret.nim"
   line: 9
-  errormsg: "unreachable statement after '{.noReturn.}' proc"
+  errormsg: "unreachable statement after 'return' statement or '{.noReturn.}' proc"
 """
 # no statement after return
 proc main() =