diff options
author | Araq <rumpf_a@web.de> | 2015-09-12 13:32:51 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-09-12 13:32:51 +0200 |
commit | bf698fbc2ab3ec3f1698261bbe4ddb897dc47f95 (patch) | |
tree | f6a959023d247a518d6a18745fa284123ec37e97 /tests | |
parent | 5aaf2f0c31d45fbd2d4e007f93355faae80dd7d9 (diff) | |
download | Nim-bf698fbc2ab3ec3f1698261bbe4ddb897dc47f95.tar.gz |
fixes some regressions
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bind/tbind2.nim | 2 | ||||
-rw-r--r-- | tests/template/twrongmapit.nim | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/bind/tbind2.nim b/tests/bind/tbind2.nim index d2219765d..0e0cbd788 100644 --- a/tests/bind/tbind2.nim +++ b/tests/bind/tbind2.nim @@ -1,6 +1,6 @@ discard """ file: "tbind2.nim" - line: 14 + line: 12 errormsg: "ambiguous call" """ # Test the new ``bind`` keyword for templates diff --git a/tests/template/twrongmapit.nim b/tests/template/twrongmapit.nim index bca1292b8..0a6d694f6 100644 --- a/tests/template/twrongmapit.nim +++ b/tests/template/twrongmapit.nim @@ -1,7 +1,5 @@ discard """ - errormsg: "'" - file: "sequtils.nim" - line: 435 + output: "####" """ # unfortunately our tester doesn't support multiple lines of compiler # error messages yet... @@ -29,4 +27,6 @@ when ATTEMPT == 0: # bug #1543 import sequtils -(var i= @[""];i).mapIt(it) +(var i = @[""];i).mapIt(it) +# now works: +echo "##", i[0], "##" |