Fix some tests.

This commit is contained in:
EXetoC 2014-03-31 21:38:35 +02:00
commit e69899fb49
4 changed files with 6 additions and 6 deletions

View file

@ -1,5 +1,5 @@
discard """ discard """
errmsg: "type mismatch: got (array[0..2, float], array[0..1, float])" errormsg: "type mismatch: got (array[0..2, float], array[0..1, float])"
""" """
proc `+`*[R, T] (v1, v2: array[R, T]): array[R, T] = proc `+`*[R, T] (v1, v2: array[R, T]): array[R, T] =

View file

@ -1,5 +1,5 @@
discard """ discard """
errmsg: "nested proc can have generic parameters only when" errormsg: "nested proc can have generic parameters only when"
line: 6 line: 6
""" """

View file

@ -1,8 +1,8 @@
discard """ discard """
cmd: "nimrod check $# $#" cmd: "nimrod check $# $#"
errmsg: "'proc' is not a concrete type" errormsg: "'proc' is not a concrete type"
errmsg: "'Foo' is not a concrete type." errormsg: "'Foo' is not a concrete type."
errmsg: "invalid type: 'TBaseMed'" errormsg: "invalid type: 'TBaseMed'"
""" """
type type

View file

@ -1,7 +1,7 @@
discard """ discard """
output: '''108 output: '''108
11 -1 1936 11 -1 1936
4.0000000000000002e-001 4.0000000000000002e-01
true true
truefalse''' truefalse'''
""" """