Skip to content

Commit 52840a5

Browse files
committed
std: correctly pass STDOUT in to naive_print test fn
1 parent e741449 commit 52840a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/rt/uv/file.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ mod test {
474474
let write_val = input.as_bytes();
475475
let write_buf = slice_to_uv_buf(write_val);
476476
let write_req = FsRequest::new();
477-
write_req.write_sync(loop_, stdout, write_buf, -1);
477+
write_req.write_sync(loop_, STDOUT_FILENO, write_buf, -1);
478478
}
479479
480480
#[test]

0 commit comments

Comments
 (0)