new tester; all tests categorized
This commit is contained in:
parent
51ee524109
commit
20b5f31c03
481 changed files with 794 additions and 2506 deletions
18
tests/bind/tnicerrorforsymchoice.nim
Normal file
18
tests/bind/tnicerrorforsymchoice.nim
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
discard """
|
||||
line: 18
|
||||
errormsg: "type mismatch: got (proc (TScgi) | proc (PAsyncSocket, PStringTable, string))"
|
||||
"""
|
||||
|
||||
#bug #442
|
||||
import scgi, sockets, asyncio, strtabs
|
||||
proc handleSCGIRequest[TScgi: TScgiState | PAsyncScgiState](s: TScgi) =
|
||||
nil
|
||||
proc handleSCGIRequest(client: PAsyncSocket, headers: PStringTable,
|
||||
input: string) =
|
||||
nil
|
||||
|
||||
proc test(handle: proc (client: PAsyncSocket, headers: PStringTable,
|
||||
input: string), b: int) =
|
||||
nil
|
||||
|
||||
test(handleSCGIRequest)
|
||||
Loading…
Add table
Add a link
Reference in a new issue