diff options
Diffstat (limited to 'src/libcore/path.rs')
| -rw-r--r-- | src/libcore/path.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libcore/path.rs b/src/libcore/path.rs index 7b745c477b1..14c7c288bdd 100644 --- a/src/libcore/path.rs +++ b/src/libcore/path.rs @@ -748,7 +748,7 @@ pub pure fn normalize(components: &[~str]) -> ~[~str] { } // Various windows helpers, and tests for the impl. -mod windows { +pub mod windows { use libc; #[inline(always)] @@ -792,6 +792,9 @@ mod windows { #[cfg(test)] mod tests { + use path::windows; + use str; + #[test] fn test_double_slash_collapsing() { let path = PosixPath("tmp/"); |
