mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
Fix some tests.
This commit is contained in:
@@ -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] =
|
||||
|
||||
@@ -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
|
||||
"""
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
discard """
|
||||
output: '''108
|
||||
11 -1 1936
|
||||
4.0000000000000002e-001
|
||||
4.0000000000000002e-01
|
||||
true
|
||||
truefalse'''
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user