diff options
| author | Jeff Olson <olson.jeffery@gmail.com> | 2013-09-16 15:33:19 -0700 |
|---|---|---|
| committer | Jeff Olson <olson.jeffery@gmail.com> | 2013-09-16 23:19:24 -0700 |
| commit | 52840a5bbc7fa3bc4bf93dacc95d0db523812639 (patch) | |
| tree | 3e965ce29f86f0eebf4e1c27409cdefa12c78978 /src/libstd | |
| parent | e741449ea1f8b3526d7da6b0874be191b916ea2d (diff) | |
| download | rust-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.rs | 2 |
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] |
