diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/accept/compile/tnamedparams.nim | 8 | ||||
-rwxr-xr-x | tests/reject/spec.csv | 1 | ||||
-rw-r--r-- | tests/reject/tnamedparams.nim | 8 | ||||
-rwxr-xr-x | tests/tester.nim | 2 |
4 files changed, 18 insertions, 1 deletions
diff --git a/tests/accept/compile/tnamedparams.nim b/tests/accept/compile/tnamedparams.nim new file mode 100644 index 000000000..4b0cd5361 --- /dev/null +++ b/tests/accept/compile/tnamedparams.nim @@ -0,0 +1,8 @@ +import pegs + +discard parsePeg( + pattern = "input", + filename = "filename", + line = 1, + col = 23) + diff --git a/tests/reject/spec.csv b/tests/reject/spec.csv index 6b1165677..a332096b2 100755 --- a/tests/reject/spec.csv +++ b/tests/reject/spec.csv @@ -15,6 +15,7 @@ tinvalidnewseq.nim;10;type mismatch: got (array[0..6, string], int) tinvwhen.nim;6;invalid indentation titer4.nim;2;iterator within for loop context expected tmethod.nim;2;'method' needs a parameter that has an object type +tnamedparams.nim;3; Error: type mismatch: got (input: string, filename: string, line: int, col: int) tnamspc.nim;5;undeclared identifier: 'global' tnoop.nim;6;expression 'a()' cannot be called tnot.nim;9;type mismatch diff --git a/tests/reject/tnamedparams.nim b/tests/reject/tnamedparams.nim new file mode 100644 index 000000000..6c59518b3 --- /dev/null +++ b/tests/reject/tnamedparams.nim @@ -0,0 +1,8 @@ +import pegs + +discard parsePeg( + input = "input", + filename = "filename", + line = 1, + col = 23) + diff --git a/tests/tester.nim b/tests/tester.nim index e9f030115..1c21e7afc 100755 --- a/tests/tester.nim +++ b/tests/tester.nim @@ -1,7 +1,7 @@ # # # Nimrod Tester -# (c) Copyright 2010 Andreas Rumpf +# (c) Copyright 2011 Andreas Rumpf # # See the file "copying.txt", included in this # distribution, for details about the copyright. |