mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
make some tests green again
This commit is contained in:
committed by
Andreas Rumpf
parent
07d50cedf0
commit
7db883e4d3
@@ -1,6 +1,6 @@
|
||||
discard """
|
||||
line: 10
|
||||
errormsg: "type mismatch: got (typedesc[float], string)"
|
||||
errormsg: "type mismatch: got (type float, string)"
|
||||
"""
|
||||
|
||||
proc foo(T: typedesc; some: T) =
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
discard """
|
||||
line: 18
|
||||
errormsg: "type mismatch: got (proc (s: TScgi) | proc (client: AsyncSocket, headers: StringTableRef, input: string){.noSideEffect, gcsafe, locks: 0.}"
|
||||
errormsg: "type mismatch: got (proc (s: TScgi: ScgiState or AsyncScgiState) | proc (client: AsyncSocket, headers: StringTableRef, input: string){.noSideEffect, gcsafe, locks: 0.}"
|
||||
"""
|
||||
|
||||
#bug #442
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
discard """
|
||||
line: 6
|
||||
errormsg: "type mismatch: got (typedesc[int])"
|
||||
errormsg: "type mismatch: got (type int)"
|
||||
"""
|
||||
# bug #3079, #1146
|
||||
echo repr(int)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
discard """
|
||||
file: "ttypenoval.nim"
|
||||
line: 38
|
||||
errormsg: "type mismatch: got (typedesc[int]) but expected 'int'"
|
||||
errormsg: "type mismatch: got (type int) but expected 'int'"
|
||||
"""
|
||||
|
||||
# A min-heap.
|
||||
|
||||
Reference in New Issue
Block a user