mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 19:43:43 +00:00
std: correctly pass STDOUT in to naive_print test fn
This commit is contained in:
parent
e741449ea1
commit
52840a5bbc
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user