From 52840a5bbc7fa3bc4bf93dacc95d0db523812639 Mon Sep 17 00:00:00 2001 From: Jeff Olson Date: Mon, 16 Sep 2013 15:33:19 -0700 Subject: [PATCH] std: correctly pass STDOUT in to naive_print test fn --- src/libstd/rt/uv/file.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/rt/uv/file.rs b/src/libstd/rt/uv/file.rs index 74203165d8f4..229a64170843 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]