summary refs log tree commit diff stats
path: root/tests/niminaction/Chapter2
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2020-05-02 21:16:08 +0200
committerAndreas Rumpf <rumpf_a@web.de>2020-05-02 22:31:19 +0200
commitff1c0bae4c9d375b6f68ab37d3eb24e4e5d15198 (patch)
treedaf98b32fa16d3ab2911ef2bc32614b7f7f7fff0 /tests/niminaction/Chapter2
parent7f1d2489ad79d09c649e37b6d2db12f5fdbd86d7 (diff)
downloadNim-ff1c0bae4c9d375b6f68ab37d3eb24e4e5d15198.tar.gz
update tests that tested for the 'discard' error messages
Diffstat (limited to 'tests/niminaction/Chapter2')
-rw-r--r--tests/niminaction/Chapter2/explicit_discard.nim2
-rw-r--r--tests/niminaction/Chapter2/resultreject.nim2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/niminaction/Chapter2/explicit_discard.nim b/tests/niminaction/Chapter2/explicit_discard.nim
index 9a3b4407e..7f3b3395e 100644
--- a/tests/niminaction/Chapter2/explicit_discard.nim
+++ b/tests/niminaction/Chapter2/explicit_discard.nim
@@ -1,5 +1,5 @@
 discard """
-  errormsg: "has to be discarded"
+  errormsg: "has to be used (or discarded)"
   line: 7
 """
 
diff --git a/tests/niminaction/Chapter2/resultreject.nim b/tests/niminaction/Chapter2/resultreject.nim
index 87c84bf0a..145345072 100644
--- a/tests/niminaction/Chapter2/resultreject.nim
+++ b/tests/niminaction/Chapter2/resultreject.nim
@@ -1,5 +1,5 @@
 discard """
-  errormsg: "has to be discarded"
+  errormsg: "has to be used (or discarded)"
   line: 27
 """