mirror of https://github.com/kdl-org/kdl.git
Update the README with directions for formatting failing tests
This commit is contained in:
parent
37f7cdbd1d
commit
6f89a28843
|
|
@ -2,9 +2,11 @@
|
||||||
|
|
||||||
The `input` folder contains test cases for KDL parsers. The `expected_kdl`
|
The `input` folder contains test cases for KDL parsers. The `expected_kdl`
|
||||||
folder contains files with the same name as those in `input` with the expected
|
folder contains files with the same name as those in `input` with the expected
|
||||||
output after being run through the parser and printed out again. If there's no
|
output after being run through the parser and printed out again.
|
||||||
file in `expected_kdl` with a name corresponding to one in `input` it
|
|
||||||
indicates that parsing for that case should fail.
|
If a testcase is intended to fail parsing,
|
||||||
|
the `input` file _MUST_ have a `_fail` suffix,
|
||||||
|
and there must be no corresponding file in `expected_kdl`.
|
||||||
|
|
||||||
## Translation Rules
|
## Translation Rules
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue