std: correctly pass STDOUT in to naive_print test fn
This commit is contained in:
parent
e741449ea1
commit
52840a5bbc
@ -474,7 +474,7 @@ fn naive_print(loop_: &Loop, input: &str) {
|
||||
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