Skip to content

Commit 0271a7a

Browse files
committed
---
yaml --- r: 4623 b: refs/heads/master c: 495b0bf h: refs/heads/master i: 4621: a2660fa 4619: 456d46d 4615: f1ba257 4607: 90c3a45 v: v3
1 parent 32c2611 commit 0271a7a

File tree

4 files changed

+8
-90
lines changed

4 files changed

+8
-90
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 7625ed52eee77078747f9e9639b89166681abef8
2+
refs/heads/master: 495b0bf65ed6c2a8f3d9ab4aaa8c187bb144051e

trunk/src/lib/std.rc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ mod ufindivec;
8787
mod extfmt;
8888
mod box;
8989
mod getopts;
90-
mod term;
9190
mod time;
9291
mod smallintmap;
9392
mod ptr;

trunk/src/lib/term.rs

Lines changed: 0 additions & 81 deletions
This file was deleted.

trunk/src/lib/test.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -181,25 +181,25 @@ fn run_tests_console_(opts: &test_opts, tests: &[test_desc],
181181
ret success;
182182

183183
fn write_ok(out: &io::writer, use_color: bool) {
184-
write_pretty(out, "ok", term::color_green, use_color);
184+
write_pretty(out, "ok", termivec::color_green, use_color);
185185
}
186186

187187
fn write_failed(out: &io::writer, use_color: bool) {
188-
write_pretty(out, "FAILED", term::color_red, use_color);
188+
write_pretty(out, "FAILED", termivec::color_red, use_color);
189189
}
190190

191191
fn write_ignored(out: &io::writer, use_color: bool) {
192-
write_pretty(out, "ignored", term::color_yellow, use_color);
192+
write_pretty(out, "ignored", termivec::color_yellow, use_color);
193193
}
194194

195195
fn write_pretty(out: &io::writer, word: &str, color: u8,
196196
use_color: bool) {
197-
if use_color && term::color_supported() {
198-
term::fg(out.get_buf_writer(), color);
197+
if use_color && termivec::color_supported() {
198+
termivec::fg(out.get_buf_writer(), color);
199199
}
200200
out.write_str(word);
201-
if use_color && term::color_supported() {
202-
term::reset(out.get_buf_writer());
201+
if use_color && termivec::color_supported() {
202+
termivec::reset(out.get_buf_writer());
203203
}
204204
}
205205
}

0 commit comments

Comments
 (0)