make some tests green again

This commit is contained in:
Zahary Karadjov
2017-06-19 23:42:15 +03:00
committed by Andreas Rumpf
parent 07d50cedf0
commit 7db883e4d3
4 changed files with 4 additions and 4 deletions

View File

@@ -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) =

View File

@@ -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

View File

@@ -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)

View File

@@ -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.