Fix some tests.
This commit is contained in:
parent
44ee8aecfd
commit
e69899fb49
4 changed files with 6 additions and 6 deletions
|
|
@ -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] =
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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'''
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue