fix tests
This commit is contained in:
parent
a6526695f0
commit
b80d70b0f3
11 changed files with 153 additions and 73 deletions
|
|
@ -1,8 +1,11 @@
|
|||
discard """
|
||||
errormsg: "type mismatch: got <Thin[system.int]>"
|
||||
nimout: '''t7600_1.nim(18, 6) Error: type mismatch: got <Thin[system.int]>
|
||||
nimout: '''t7600_1.nim(21, 6) Error: type mismatch: got <Thin[system.int]>
|
||||
but expected one of:
|
||||
proc test[T](x: Paper[T])
|
||||
first type mismatch at position: 1
|
||||
required type for x: Paper[test.T]
|
||||
but expression 'tn' is of type: Thin[system.int]
|
||||
|
||||
expression: test tn'''
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -1,8 +1,11 @@
|
|||
discard """
|
||||
errormsg: "type mismatch: got <Thin>"
|
||||
nimout: '''t7600_2.nim(17, 6) Error: type mismatch: got <Thin>
|
||||
nimout: '''t7600_2.nim(20, 6) Error: type mismatch: got <Thin>
|
||||
but expected one of:
|
||||
proc test(x: Paper)
|
||||
first type mismatch at position: 1
|
||||
required type for x: Paper
|
||||
but expression 'tn' is of type: Thin
|
||||
|
||||
expression: test tn'''
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue