Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-stdx/tests/path.rs')
-rw-r--r--helix-stdx/tests/path.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/helix-stdx/tests/path.rs b/helix-stdx/tests/path.rs
index 1e530ce0..cc3c15cb 100644
--- a/helix-stdx/tests/path.rs
+++ b/helix-stdx/tests/path.rs
@@ -1,6 +1,10 @@
#![cfg(windows)]
-use std::{env::set_current_dir, error::Error, path::Component};
+use std::{
+ env::set_current_dir,
+ error::Error,
+ path::{Component, Path, PathBuf},
+};
use helix_stdx::path;
use tempfile::Builder;
@@ -96,7 +100,7 @@ fn test_normalize_path() -> Result<(), Box<dyn Error>> {
assert_eq!(
path::normalize(&path),
expected,
- "input {:?} and \"..\" should not erase the symlink that goes ahead",
+ "input {:?} and \"..\" should not erase the simlink that goes ahead",
&path
);