diff options
author | Araq <rumpf_a@web.de> | 2014-02-25 08:41:29 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-02-25 08:41:29 +0100 |
commit | b7bb56bdca9ced8fdc0dea18dc54f732c6e17d3e (patch) | |
tree | b10b53ba60ff226f77c6c6034ba1b45fb7ec44f7 /tests | |
parent | 3a2e1ce538f65942dae426b3183353353850e93f (diff) | |
download | Nim-b7bb56bdca9ced8fdc0dea18dc54f732c6e17d3e.tar.gz |
made some tests green; htmlgen still broken
Diffstat (limited to 'tests')
-rw-r--r-- | tests/discard/tneedsdiscard.nim | 2 | ||||
-rw-r--r-- | tests/exprs/tstmtexp.nim | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/discard/tneedsdiscard.nim b/tests/discard/tneedsdiscard.nim index 24f5b2eee..2a7856b4a 100644 --- a/tests/discard/tneedsdiscard.nim +++ b/tests/discard/tneedsdiscard.nim @@ -1,6 +1,6 @@ discard """ line: 10 - errormsg: "value returned by statement has to be discarded" + errormsg: "value of type 'bool' has to be discarded" """ proc p = 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 |