new tester; all tests categorized
This commit is contained in:
parent
51ee524109
commit
20b5f31c03
481 changed files with 794 additions and 2506 deletions
15
tests/namedparams/tnamedparams.nim
Normal file
15
tests/namedparams/tnamedparams.nim
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
discard """
|
||||
file: "tnamedparams.nim"
|
||||
line: 8
|
||||
errormsg: "type mismatch: got (input: string, filename: string, line: int literal(1), col: int literal(23))"
|
||||
"""
|
||||
import pegs
|
||||
|
||||
discard parsePeg(
|
||||
input = "input",
|
||||
filename = "filename",
|
||||
line = 1,
|
||||
col = 23)
|
||||
|
||||
|
||||
|
||||
8
tests/namedparams/tnamedparams2.nim
Normal file
8
tests/namedparams/tnamedparams2.nim
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import pegs
|
||||
|
||||
discard parsePeg(
|
||||
pattern = "input",
|
||||
filename = "filename",
|
||||
line = 1,
|
||||
col = 23)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue