about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-02-24 21:53:46 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-02-24 22:11:43 -0800
commit7d85546721cf954606a2fe25a63e9fb9e8a256ad (patch)
treee6641cd309453d27c829fdca475650b797b3ad48 /src
parent35f2da4063bbf2e6e945fdce547b6855ef061b15 (diff)
downloadrust-7d85546721cf954606a2fe25a63e9fb9e8a256ad.tar.gz
rust-7d85546721cf954606a2fe25a63e9fb9e8a256ad.zip
Test fixes from rollup
Diffstat (limited to 'src')
-rw-r--r--src/test/run-make/unicode-input/multiple_files.rs6
-rw-r--r--src/test/run-make/unicode-input/span_length.rs6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/test/run-make/unicode-input/multiple_files.rs b/src/test/run-make/unicode-input/multiple_files.rs
index 68bec1d215a..80371aa9840 100644
--- a/src/test/run-make/unicode-input/multiple_files.rs
+++ b/src/test/run-make/unicode-input/multiple_files.rs
@@ -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
@@ -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
diff --git a/src/test/run-make/unicode-input/span_length.rs b/src/test/run-make/unicode-input/span_length.rs
index c437b70baf3..3227f672bcd 100644
--- a/src/test/run-make/unicode-input/span_length.rs
+++ b/src/test/run-make/unicode-input/span_length.rs
@@ -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
@@ -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);