diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-08-11 19:14:38 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-08-12 12:08:27 -0700 |
| commit | 7d05da96f72d96eae1367c21064d7ab3c9a3f2bb (patch) | |
| tree | f340bce79826ceb7ca58295246e7d2406a33a758 /src/lib/test.rs | |
| parent | 0b71d1d445c01e1763f38ab62372f7e07b7ff0ff (diff) | |
| download | rust-7d05da96f72d96eae1367c21064d7ab3c9a3f2bb.tar.gz rust-7d05da96f72d96eae1367c21064d7ab3c9a3f2bb.zip | |
Rename std::ioivec to std::io
Diffstat (limited to 'src/lib/test.rs')
| -rw-r--r-- | src/lib/test.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/test.rs b/src/lib/test.rs index 04472088789..70f9580bf73 100644 --- a/src/lib/test.rs +++ b/src/lib/test.rs @@ -106,7 +106,7 @@ fn run_tests_console_(opts: &test_opts, tests: &[test_desc], to_task: &test_to_task) -> bool { type test_state = @{ - out: ioivec::writer, + out: io::writer, use_color: bool, mutable total: uint, mutable passed: uint, @@ -148,7 +148,7 @@ fn run_tests_console_(opts: &test_opts, tests: &[test_desc], } let st = @{ - out: ioivec::stdout(), + out: io::stdout(), use_color: use_color(), mutable total: 0u, mutable passed: 0u, @@ -181,19 +181,19 @@ fn run_tests_console_(opts: &test_opts, tests: &[test_desc], ret success; - fn write_ok(out: &ioivec::writer, use_color: bool) { + fn write_ok(out: &io::writer, use_color: bool) { write_pretty(out, "ok", term::color_green, use_color); } - fn write_failed(out: &ioivec::writer, use_color: bool) { + fn write_failed(out: &io::writer, use_color: bool) { write_pretty(out, "FAILED", term::color_red, use_color); } - fn write_ignored(out: &ioivec::writer, use_color: bool) { + fn write_ignored(out: &io::writer, use_color: bool) { write_pretty(out, "ignored", term::color_yellow, use_color); } - fn write_pretty(out: &ioivec::writer, word: &str, color: u8, + fn write_pretty(out: &io::writer, word: &str, color: u8, use_color: bool) { if use_color && term::color_supported() { term::fg(out.get_buf_writer(), color); |
