]> git.lizzy.rs Git - rust.git/commitdiff
std: get std::path tests to work again
authorErick Tryzelaar <erick.tryzelaar@gmail.com>
Fri, 14 Jun 2013 14:12:42 +0000 (07:12 -0700)
committerErick Tryzelaar <erick.tryzelaar@gmail.com>
Fri, 14 Jun 2013 14:13:32 +0000 (07:13 -0700)
src/libstd/path.rs

index abe902dec0be369c5be4865770062315d46c0e2f..400657d0c2559623670700e8ecb8ec9c7d0dde43 100644 (file)
@@ -947,6 +947,7 @@ pub fn extract_drive_prefix(s: &str) -> Option<(~str,~str)> {
 mod tests {
     use option::{None, Some};
     use path::{PosixPath, WindowsPath, windows};
+    use str;
 
     #[test]
     fn test_double_slash_collapsing() {