diff options
Diffstat (limited to 'crates/ra_syntax/tests/test.rs')
-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 9d1ded093..67acc9020 100644 --- a/crates/ra_syntax/tests/test.rs +++ b/crates/ra_syntax/tests/test.rs | |||
@@ -11,7 +11,7 @@ use std::{ | |||
11 | 11 | ||
12 | use ra_syntax::{ | 12 | use ra_syntax::{ |
13 | utils::{check_fuzz_invariants, dump_tree}, | 13 | utils::{check_fuzz_invariants, dump_tree}, |
14 | File, | 14 | SourceFileNode, |
15 | }; | 15 | }; |
16 | 16 | ||
17 | #[test] | 17 | #[test] |
@@ -25,7 +25,7 @@ fn lexer_tests() { | |||
25 | #[test] | 25 | #[test] |
26 | fn parser_tests() { | 26 | fn parser_tests() { |
27 | dir_tests(&["parser/inline", "parser/ok", "parser/err"], |text| { | 27 | dir_tests(&["parser/inline", "parser/ok", "parser/err"], |text| { |
28 | let file = File::parse(text); | 28 | let file = SourceFileNode::parse(text); |
29 | dump_tree(file.syntax()) | 29 | dump_tree(file.syntax()) |
30 | }) | 30 | }) |
31 | } | 31 | } |