diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2012-01-13 21:38:29 +0100 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2012-01-13 21:38:29 +0100 |
| commit | 7150643588dac57db2292d98fc03ab11b2675758 (patch) | |
| tree | 238a5fad60a01835250bb54d169bd9e22515f612 /src/libstd | |
| parent | bb1e79768cbee1d532ade39d72c2c51b99e14e3b (diff) | |
| download | rust-7150643588dac57db2292d98fc03ab11b2675758.tar.gz rust-7150643588dac57db2292d98fc03ab11b2675758.zip | |
Remove workaround for issue #1494
We have a snapshot that includes the fix.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/test.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/libstd/test.rs b/src/libstd/test.rs index 57c09fd57f3..91052b40af0 100644 --- a/src/libstd/test.rs +++ b/src/libstd/test.rs @@ -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 |
