made tests green again

This commit is contained in:
Araq 2012-08-16 19:05:38 +02:00
commit 0cac8d9b6f
7 changed files with 20 additions and 20 deletions

View file

@ -1,6 +1,6 @@
discard """
file: "system.nim"
line: 641
line: 643
errormsg: "type mismatch"
"""

View file

@ -1,6 +1,6 @@
discard """
line: 10
errormsg: "illegal capture: 'A'"
errormsg: "illegal capture 'A'"
"""
proc outer() =

View file

@ -7,5 +7,5 @@ discard """
# shouldn't compile since it doesn't do what you think it does without
# importing strutils:
let x = "abc" in "abcdef"
let x = "abcdef".contains("abc")
echo x

View file

@ -5,7 +5,7 @@ discard """
import macros, parseutils, strutils
proc concat(strings: openarray[string]): string =
proc concat(strings: varargs[string]): string =
result = newString(0)
for s in items(strings): result.add(s)