We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 82c7467 + 26f5b87 commit af9f0f5Copy full SHA for af9f0f5
1 file changed
crates/terraphim_config/src/project.rs
@@ -163,10 +163,10 @@ mod tests {
163
let temp = TempDir::new().unwrap();
164
let real = temp.path().join("real");
165
let linked = temp.path().join("linked");
166
- fs::create_dir_all(real.join(".terraphim")).unwrap();
167
- fs::create_dir_all(real.join("src")).unwrap();
+ fs::create_dir_all(&real.join(".terraphim")).unwrap();
+ fs::create_dir_all(&real.join("src")).unwrap();
168
std::os::unix::fs::symlink(&real, &linked).unwrap();
169
- let canonical = std::fs::canonicalize(real.join(".terraphim")).unwrap();
+ let canonical = std::fs::canonicalize(&real.join(".terraphim")).unwrap();
170
let result = discover(Some(&linked.join("src"))).unwrap();
171
assert_eq!(result, Some(canonical));
172
}
0 commit comments