aboutsummaryrefslogtreecommitdiff
path: root/crates/rust-analyzer
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-06-23 17:34:50 +0100
committerAleksey Kladov <[email protected]>2020-06-23 17:37:26 +0100
commit21f751a0e5da5dd488612e25abfc545c259050e7 (patch)
tree0ad1b22fcc5b26456ecc92f473fb2306922fd6aa /crates/rust-analyzer
parent30748161f0b4699ba9bc699a38ac9fc2fae49461 (diff)
Simplify
Diffstat (limited to 'crates/rust-analyzer')
-rw-r--r--crates/rust-analyzer/tests/heavy_tests/support.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/tests/heavy_tests/support.rs b/crates/rust-analyzer/tests/heavy_tests/support.rs
index 3bbfb43aa..59565bf3d 100644
--- a/crates/rust-analyzer/tests/heavy_tests/support.rs
+++ b/crates/rust-analyzer/tests/heavy_tests/support.rs
@@ -69,7 +69,7 @@ impl<'a> Project<'a> {
69 let mut paths = vec![]; 69 let mut paths = vec![];
70 70
71 for entry in parse_fixture(self.fixture) { 71 for entry in parse_fixture(self.fixture) {
72 let path = tmp_dir.path().join(&entry.meta.path['/'.len_utf8()..]); 72 let path = tmp_dir.path().join(&entry.path['/'.len_utf8()..]);
73 fs::create_dir_all(path.parent().unwrap()).unwrap(); 73 fs::create_dir_all(path.parent().unwrap()).unwrap();
74 fs::write(path.as_path(), entry.text.as_bytes()).unwrap(); 74 fs::write(path.as_path(), entry.text.as_bytes()).unwrap();
75 paths.push((path, entry.text)); 75 paths.push((path, entry.text));