std: correctly pass STDOUT in to naive_print test fn

This commit is contained in:
Jeff Olson 2013-09-16 15:33:19 -07:00
parent e741449ea1
commit 52840a5bbc

View File

@ -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]