We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecdf792 commit bc5dabeCopy full SHA for bc5dabe
src/test/run-pass/issue-20797.rs
@@ -8,15 +8,13 @@
8
// option. This file may not be copied, modified, or distributed
9
// except according to those terms.
10
11
-// ignore-android
12
-// ignore-windows
13
-
14
// Regression test for #20797.
15
16
use std::default::Default;
17
use std::old_io::IoResult;
18
use std::old_io::fs;
19
use std::old_io::fs::PathExtensions;
+use std::os;
20
21
/// A strategy for acquiring more subpaths to walk.
22
pub trait Strategy {
@@ -90,5 +88,5 @@ impl<S: Strategy> Iterator for Subpaths<S> {
90
88
}
91
89
92
fn main() {
93
- let mut walker: Subpaths<Recursive> = Subpaths::walk(&Path::new("/home")).unwrap();
+ let mut walker: Subpaths<Recursive> = Subpaths::walk(&os::tmpdir()).unwrap();
94
0 commit comments