We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07da956 commit 31a0c2aCopy full SHA for 31a0c2a
test/standalone/child_process/main.zig
@@ -32,7 +32,7 @@ pub fn main() !void {
32
33
const hello_stdout = "hello from stdout";
34
var buf: [hello_stdout.len]u8 = undefined;
35
- var stdout_reader = child.stdout.?.reader(&.{});
+ var stdout_reader = child.stdout.?.readerStreaming(&.{});
36
const n = try stdout_reader.interface.readSliceShort(&buf);
37
if (!std.mem.eql(u8, buf[0..n], hello_stdout)) {
38
testError("child stdout: '{s}'; want '{s}'", .{ buf[0..n], hello_stdout });
0 commit comments