Skip to content

Commit 7d85546

Browse files
committed
Test fixes from rollup
1 parent 35f2da4 commit 7d85546

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/test/run-make/unicode-input/multiple_files.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
use std::{char, os, run, str};
11+
use std::{char, os, str};
1212
use std::rand::{task_rng, Rng};
13-
use std::io::File;
13+
use std::io::{File, Process};
1414

1515
// creates unicode_input_multiple_files_{main,chars}.rs, where the
1616
// former imports the latter. `_chars` just contains an indentifier
@@ -55,7 +55,7 @@ fn main() {
5555

5656
// rustc is passed to us with --out-dir and -L etc., so we
5757
// can't exec it directly
58-
let result = run::process_output("sh", [~"-c", rustc + " " + main_file_str]).unwrap();
58+
let result = Process::output("sh", [~"-c", rustc + " " + main_file_str]).unwrap();
5959
let err = str::from_utf8_lossy(result.error);
6060

6161
// positive test so that this test will be updated when the

src/test/run-make/unicode-input/span_length.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
use std::{char, os, run, str};
11+
use std::{char, os, str};
1212
use std::rand::{task_rng, Rng};
13-
use std::io::File;
13+
use std::io::{File, Process};
1414

1515
// creates a file with `fn main() { <random ident> }` and checks the
1616
// compiler emits a span of the appropriate length (for the
@@ -51,7 +51,7 @@ fn main() {
5151

5252
// rustc is passed to us with --out-dir and -L etc., so we
5353
// can't exec it directly
54-
let result = run::process_output("sh", [~"-c", rustc + " " + main_file_str]).unwrap();
54+
let result = Process::output("sh", [~"-c", rustc + " " + main_file_str]).unwrap();
5555

5656
let err = str::from_utf8_lossy(result.error);
5757

0 commit comments

Comments
 (0)