about summary refs log tree commit diff
path: root/src/libcore/path.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/path.rs')
-rw-r--r--src/libcore/path.rs5
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/");