Skip to content

Commit

Permalink
Remove workaround for issue #1494
Browse files Browse the repository at this point in the history
We have a snapshot that includes the fix.
  • Loading branch information
marijnh committed Jan 13, 2012
1 parent bb1e797 commit 7150643
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/libstd/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// while providing a base that other test frameworks may build off of.

import result::{ok, err};
import io::writer_util;

export test_name;
export test_fn;
Expand All @@ -30,13 +31,6 @@ native mod rustrt {
fn sched_threads() -> uint;
}

// FIXME Kludge to work around issue #1494 . Simply import io::writer_util
// after the next snapshot.
impl writer_util for io::writer {
fn write_str(s: str) { self.write(str::bytes(s)); }
fn write_line(s: str) { self.write(str::bytes(s + "\n")); }
}

// The name of a test. By convention this follows the rules for rust
// paths; i.e. it should be a series of identifiers seperated by double
// colons. This way if some test runner wants to arrange the tests
Expand Down

0 comments on commit 7150643

Please sign in to comment.