Remove workaround for issue #1494

We have a snapshot that includes the fix.
This commit is contained in:
Marijn Haverbeke 2012-01-13 21:38:29 +01:00
parent bb1e79768c
commit 7150643588

View File

@ -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;
@ -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