about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorJeff Olson <olson.jeffery@gmail.com>2013-09-16 15:33:19 -0700
committerJeff Olson <olson.jeffery@gmail.com>2013-09-16 23:19:24 -0700
commit52840a5bbc7fa3bc4bf93dacc95d0db523812639 (patch)
tree3e965ce29f86f0eebf4e1c27409cdefa12c78978 /src/libstd
parente741449ea1f8b3526d7da6b0874be191b916ea2d (diff)
downloadrust-52840a5bbc7fa3bc4bf93dacc95d0db523812639.tar.gz
rust-52840a5bbc7fa3bc4bf93dacc95d0db523812639.zip
std: correctly pass STDOUT in to naive_print test fn
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/rt/uv/file.rs2
1 files changed, 1 insertions, 1 deletions
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]