From f7f99af0a60ff80097377c1a041bcdeaf33c38de Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 21 Feb 2019 15:51:22 +0300 Subject: kill utils module --- crates/ra_syntax/tests/test.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'crates/ra_syntax/tests') diff --git a/crates/ra_syntax/tests/test.rs b/crates/ra_syntax/tests/test.rs index 168d0623d..458740c13 100644 --- a/crates/ra_syntax/tests/test.rs +++ b/crates/ra_syntax/tests/test.rs @@ -8,10 +8,7 @@ use std::{ }; use test_utils::{project_dir, dir_tests, read_text, collect_tests}; -use ra_syntax::{ - SourceFile, AstNode, - utils::{check_fuzz_invariants, dump_tree}, -}; +use ra_syntax::{SourceFile, AstNode, check_fuzz_invariants}; #[test] fn lexer_tests() { @@ -32,7 +29,7 @@ fn parser_tests() { "There should be no errors in the file {:?}", path.display() ); - dump_tree(file.syntax()) + file.syntax().debug_dump() }); dir_tests(&test_data_dir(), &["parser/err", "parser/inline/err"], |text, path| { let file = SourceFile::parse(text); @@ -43,7 +40,7 @@ fn parser_tests() { "There should be errors in the file {:?}", path.display() ); - dump_tree(file.syntax()) + file.syntax().debug_dump() }); } -- cgit v1.2.3