From 7150643588dac57db2292d98fc03ab11b2675758 Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Fri, 13 Jan 2012 21:38:29 +0100 Subject: [PATCH] Remove workaround for issue #1494 We have a snapshot that includes the fix. --- src/libstd/test.rs | 8 +------- 1 file changed, 1 insertion(+), 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