Fix some tests.

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

View File

@@ -1,5 +1,5 @@
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] =

View File

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

View File

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

View File

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