summary refs log tree commit diff stats
path: root/tests/exprs/tstmtexp.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exprs/tstmtexp.nim')
-rw-r--r--tests/exprs/tstmtexp.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/exprs/tstmtexp.nim b/tests/exprs/tstmtexp.nim
index 7cbf2eb3d..fe60dd3ba 100644
--- a/tests/exprs/tstmtexp.nim
+++ b/tests/exprs/tstmtexp.nim
@@ -1,9 +1,9 @@
 discard """
   file: "tstmtexp.nim"
   line: 8
-  errormsg: "value returned by statement has to be discarded"
+  errormsg: "value of type 'int literal(5)' has to be discarded"
 """
 # Test 3
 
-1+4 #ERROR_MSG value returned by statement has to be discarded
+1+4