std: writing to stdout only works when using -1 offset..
This commit is contained in:
parent
a7ee85b50b
commit
c3a819b01c
1 changed files with 1 additions and 1 deletions
|
|
@ -416,7 +416,7 @@ mod test {
|
|||
let stdout = FileDescriptor(STDOUT_FILENO);
|
||||
let write_val = input.as_bytes();
|
||||
let write_buf = slice_to_uv_buf(write_val);
|
||||
stdout.write_sync(loop_, write_buf, 0);
|
||||
stdout.write_sync(loop_, write_buf, -1);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue