diff options
author | DJMcNab <[email protected]> | 2018-12-20 15:09:22 +0000 |
---|---|---|
committer | DJMcNab <[email protected]> | 2018-12-20 15:09:22 +0000 |
commit | 63ca8bc91a2e34009a7e274a3105223040db6a37 (patch) | |
tree | 1b384353a887c7094977128ccd52b8577169b317 /crates/ra_syntax/tests | |
parent | e2a7e9451881d3b9d1eba7336c657d56558f812e (diff) |
Change parser tests dir to inline/ok and inline/err
Diffstat (limited to 'crates/ra_syntax/tests')
-rw-r--r-- | crates/ra_syntax/tests/test.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_syntax/tests/test.rs b/crates/ra_syntax/tests/test.rs index 539c4435b..15f70c090 100644 --- a/crates/ra_syntax/tests/test.rs +++ b/crates/ra_syntax/tests/test.rs | |||
@@ -24,7 +24,7 @@ fn lexer_tests() { | |||
24 | 24 | ||
25 | #[test] | 25 | #[test] |
26 | fn parser_tests() { | 26 | fn parser_tests() { |
27 | dir_tests(&["parser/inline", "parser/ok"], |text, path| { | 27 | dir_tests(&["parser/inline/ok", "parser/ok"], |text, path| { |
28 | let file = SourceFileNode::parse(text); | 28 | let file = SourceFileNode::parse(text); |
29 | let errors = file.errors(); | 29 | let errors = file.errors(); |
30 | assert_eq!( | 30 | assert_eq!( |
@@ -35,7 +35,7 @@ fn parser_tests() { | |||
35 | ); | 35 | ); |
36 | dump_tree(file.syntax()) | 36 | dump_tree(file.syntax()) |
37 | }); | 37 | }); |
38 | dir_tests(&["parser/err"], |text, path| { | 38 | dir_tests(&["parser/err", "parser/inline/err"], |text, path| { |
39 | let file = SourceFileNode::parse(text); | 39 | let file = SourceFileNode::parse(text); |
40 | let errors = file.errors(); | 40 | let errors = file.errors(); |
41 | assert_ne!( | 41 | assert_ne!( |