diff options
Diffstat (limited to 'clap')
| -rw-r--r-- | clap/streaming.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clap/streaming.zig b/clap/streaming.zig index 11145f0..0fe5aae 100644 --- a/clap/streaming.zig +++ b/clap/streaming.zig | |||
| @@ -234,7 +234,7 @@ fn testErr(params: []const clap.Param(u8), args_strings: []const []const u8, exp | |||
| 234 | while (c.next(&diag) catch |err| { | 234 | while (c.next(&diag) catch |err| { |
| 235 | var buf: [1024]u8 = undefined; | 235 | var buf: [1024]u8 = undefined; |
| 236 | var slice_stream = io.fixedBufferStream(&buf); | 236 | var slice_stream = io.fixedBufferStream(&buf); |
| 237 | diag.report(slice_stream.outStream(), err) catch unreachable; | 237 | diag.report(slice_stream.writer(), err) catch unreachable; |
| 238 | testing.expectEqualStrings(expected, slice_stream.getWritten()); | 238 | testing.expectEqualStrings(expected, slice_stream.getWritten()); |
| 239 | return; | 239 | return; |
| 240 | }) |_| {} | 240 | }) |_| {} |