diff options
Diffstat (limited to 'xtask/src/codegen/gen_parser_tests.rs')
-rw-r--r-- | xtask/src/codegen/gen_parser_tests.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xtask/src/codegen/gen_parser_tests.rs b/xtask/src/codegen/gen_parser_tests.rs index 19ae949d4..6e4abd10c 100644 --- a/xtask/src/codegen/gen_parser_tests.rs +++ b/xtask/src/codegen/gen_parser_tests.rs | |||
@@ -45,15 +45,15 @@ pub fn generate_parser_tests(mode: Mode) -> Result<()> { | |||
45 | 45 | ||
46 | #[derive(Debug)] | 46 | #[derive(Debug)] |
47 | struct Test { | 47 | struct Test { |
48 | pub name: String, | 48 | name: String, |
49 | pub text: String, | 49 | text: String, |
50 | pub ok: bool, | 50 | ok: bool, |
51 | } | 51 | } |
52 | 52 | ||
53 | #[derive(Default, Debug)] | 53 | #[derive(Default, Debug)] |
54 | struct Tests { | 54 | struct Tests { |
55 | pub ok: HashMap<String, Test>, | 55 | ok: HashMap<String, Test>, |
56 | pub err: HashMap<String, Test>, | 56 | err: HashMap<String, Test>, |
57 | } | 57 | } |
58 | 58 | ||
59 | fn collect_tests(s: &str) -> Vec<Test> { | 59 | fn collect_tests(s: &str) -> Vec<Test> { |