diff options
Diffstat (limited to 'tests/modules/pipe/pipe_pair.lua')
| -rw-r--r-- | tests/modules/pipe/pipe_pair.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modules/pipe/pipe_pair.lua b/tests/modules/pipe/pipe_pair.lua index f6b2cb5b1..da38f81ff 100644 --- a/tests/modules/pipe/pipe_pair.lua +++ b/tests/modules/pipe/pipe_pair.lua @@ -3,7 +3,7 @@ import("core.base.bytes") function main() local buff = bytes(8192) - local rpipe, wpipe = pipe.openpair(4096) + local rpipe, wpipe = pipe.openpair() wpipe:write("hello xmake!", {block = true}) local read, data = rpipe:read(buff, 13) if read > 0 and data then |
