Fix expected tester messages
This commit is contained in:
parent
d203d6fad4
commit
fc76c93a19
2 changed files with 4 additions and 4 deletions
|
|
@ -1,17 +1,17 @@
|
||||||
discard """
|
discard """
|
||||||
line: 18
|
line: 18
|
||||||
errormsg: "type mismatch: got (proc (TScgi) | proc (AsyncSocket, StringTableRef, string)"
|
errormsg: "type mismatch: got (proc (s: TScgi) | proc (client: AsyncSocket, headers: StringTableRef, input: string){.gcsafe, locks: 0.}"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
#bug #442
|
#bug #442
|
||||||
import scgi, sockets, asyncio, strtabs
|
import scgi, sockets, asyncio, strtabs
|
||||||
proc handleSCGIRequest[TScgi: ScgiState | AsyncScgiState](s: TScgi) =
|
proc handleSCGIRequest[TScgi: ScgiState | AsyncScgiState](s: TScgi) =
|
||||||
discard
|
discard
|
||||||
proc handleSCGIRequest(client: AsyncSocket, headers: StringTableRef,
|
proc handleSCGIRequest(client: AsyncSocket, headers: StringTableRef,
|
||||||
input: string) =
|
input: string) =
|
||||||
discard
|
discard
|
||||||
|
|
||||||
proc test(handle: proc (client: AsyncSocket, headers: StringTableRef,
|
proc test(handle: proc (client: AsyncSocket, headers: StringTableRef,
|
||||||
input: string), b: int) =
|
input: string), b: int) =
|
||||||
discard
|
discard
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
discard """
|
discard """
|
||||||
line: 12
|
line: 12
|
||||||
errormsg: "type mismatch: got (proc (int){.closure, gcsafe, locks: 0.})"
|
errormsg: "type mismatch: got (proc (x: int){.closure, gcsafe, locks: 0.})"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
proc ugh[T](x: T) {.closure.} =
|
proc ugh[T](x: T) {.closure.} =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue