aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/tests
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/tests')
-rw-r--r--crates/ra_syntax/tests/test.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/crates/ra_syntax/tests/test.rs b/crates/ra_syntax/tests/test.rs
index 7f385f86f..a07855768 100644
--- a/crates/ra_syntax/tests/test.rs
+++ b/crates/ra_syntax/tests/test.rs
@@ -43,7 +43,6 @@ fn parser_fuzz_tests() {
43fn self_hosting_parsing() { 43fn self_hosting_parsing() {
44 let empty_vec = vec![]; 44 let empty_vec = vec![];
45 let dir = project_dir(); 45 let dir = project_dir();
46 let mut count = 0u32;
47 for entry in walkdir::WalkDir::new(dir) 46 for entry in walkdir::WalkDir::new(dir)
48 .into_iter() 47 .into_iter()
49 .filter_entry(|entry| { 48 .filter_entry(|entry| {
@@ -64,7 +63,6 @@ fn self_hosting_parsing() {
64 !entry.path().is_dir() && (entry.path().extension() == Some(std::ffi::OsStr::new("rs"))) 63 !entry.path().is_dir() && (entry.path().extension() == Some(std::ffi::OsStr::new("rs")))
65 }) 64 })
66 { 65 {
67 count += 1;
68 let text = read_text(entry.path()); 66 let text = read_text(entry.path());
69 let node = SourceFileNode::parse(&text); 67 let node = SourceFileNode::parse(&text);
70 let errors = node.errors(); 68 let errors = node.errors();
@@ -74,7 +72,6 @@ fn self_hosting_parsing() {
74 entry 72 entry
75 ); 73 );
76 } 74 }
77 panic!("{}", count)
78} 75}
79/// Read file and normalize newlines. 76/// Read file and normalize newlines.
80/// 77///