File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ pub fn make_tests(config: config) -> ~[test::TestDescAndFn] {
177
177
tests.push(make_test(config, file))
178
178
}
179
179
}
180
- move tests
180
+ tests
181
181
}
182
182
183
183
pub fn is_test(config: config, testfile: &Path) -> bool {
Original file line number Diff line number Diff line change @@ -78,12 +78,12 @@ pub fn run(lib_path: ~str,
78
78
writeclose ( pipe_in. out , input) ;
79
79
let p = pipes:: PortSet ( ) ;
80
80
let ch = p. chan ( ) ;
81
- do task:: spawn_sched ( task:: SingleThreaded ) |move ch | {
81
+ do task:: spawn_sched ( task:: SingleThreaded ) || {
82
82
let errput = readclose ( pipe_err. in ) ;
83
83
ch. send ( ( 2 , errput) ) ;
84
84
}
85
85
let ch = p. chan ( ) ;
86
- do task:: spawn_sched ( task:: SingleThreaded ) |move ch | {
86
+ do task:: spawn_sched ( task:: SingleThreaded ) || {
87
87
let output = readclose ( pipe_out. in ) ;
88
88
ch. send ( ( 1 , output) ) ;
89
89
}
You can’t perform that action at this time.
0 commit comments