follow up on normalization test on windows
See
@@ -38,7 +38,14 @@ mod path_normalize_tests {
fn check(before: &str, after: &str) {
println!("-----------------\nnormalizing {:?}", before);
- assert_eq!(normalize_path(before), Path::new(after));
+ /// As seen by Stargateur, the test here doesn't work on Windows
+ ///
+ /// There are two problems, at least:
+ ///
+ /// * strings used for test use the '/' separator. This is a test problem
+ /// * we do a "end with '/'" test in the tested function. This might
+ /// lead to suboptimal interaction on windows
+ assert_eq!(normalize_path(before.to_string()).to_string_lossy(), after);
}
#[test]
