From 52840a5bbc7fa3bc4bf93dacc95d0db523812639 Mon Sep 17 00:00:00 2001 From: Jeff Olson Date: Mon, 16 Sep 2013 15:33:19 -0700 Subject: std: correctly pass STDOUT in to naive_print test fn --- src/libstd/rt/uv/file.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/rt') diff --git a/src/libstd/rt/uv/file.rs b/src/libstd/rt/uv/file.rs index 74203165d8f..229a6417084 100644 --- a/src/libstd/rt/uv/file.rs +++ b/src/libstd/rt/uv/file.rs @@ -474,7 +474,7 @@ mod test { let write_val = input.as_bytes(); let write_buf = slice_to_uv_buf(write_val); let write_req = FsRequest::new(); - write_req.write_sync(loop_, stdout, write_buf, -1); + write_req.write_sync(loop_, STDOUT_FILENO, write_buf, -1); } #[test] -- cgit 1.4.1-3-g733a5