Skip to content

Commit

Permalink
Test fixes from rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Feb 25, 2014
1 parent 35f2da4 commit 7d85546
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/test/run-make/unicode-input/multiple_files.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

use std::{char, os, run, str};
use std::{char, os, str};
use std::rand::{task_rng, Rng};
use std::io::File;
use std::io::{File, Process};

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

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

// positive test so that this test will be updated when the
Expand Down
6 changes: 3 additions & 3 deletions src/test/run-make/unicode-input/span_length.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

use std::{char, os, run, str};
use std::{char, os, str};
use std::rand::{task_rng, Rng};
use std::io::File;
use std::io::{File, Process};

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

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

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

Expand Down

1 comment on commit 7d85546

@alexcrichton
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+ p=1

Please sign in to comment.