From 6f89a28843528eb8b510420d7582202a13b9c9f1 Mon Sep 17 00:00:00 2001 From: Tab Atkins-Bittner Date: Fri, 6 Dec 2024 14:06:28 -0800 Subject: [PATCH] Update the README with directions for formatting failing tests --- tests/README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/README.md b/tests/README.md index 0ddfea0..848aeb0 100644 --- a/tests/README.md +++ b/tests/README.md @@ -2,9 +2,11 @@ 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 -output after being run through the parser and printed out again. If there's no -file in `expected_kdl` with a name corresponding to one in `input` it -indicates that parsing for that case should fail. +output after being run through the parser and printed out again. + +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