summaryrefslogtreecommitdiff
path: root/clap/streaming.zig
diff options
context:
space:
mode:
Diffstat (limited to 'clap/streaming.zig')
-rw-r--r--clap/streaming.zig10
1 files changed, 1 insertions, 9 deletions
diff --git a/clap/streaming.zig b/clap/streaming.zig
index 8ab01f6..e0b808e 100644
--- a/clap/streaming.zig
+++ b/clap/streaming.zig
@@ -208,15 +208,7 @@ fn testErr(params: []const clap.Param(u8), args_strings: []const []const u8, exp
208 var buf: [1024]u8 = undefined; 208 var buf: [1024]u8 = undefined;
209 var slice_stream = io.fixedBufferStream(&buf); 209 var slice_stream = io.fixedBufferStream(&buf);
210 diag.report(slice_stream.outStream(), err) catch unreachable; 210 diag.report(slice_stream.outStream(), err) catch unreachable;
211 211 testing.expectEqualStrings(expected, slice_stream.getWritten());
212 const actual = slice_stream.getWritten();
213 if (!mem.eql(u8, actual, expected)) {
214 debug.warn("\n============ Expected ============\n", .{});
215 debug.warn("{}", .{expected});
216 debug.warn("============= Actual =============\n", .{});
217 debug.warn("{}", .{actual});
218 testing.expect(false);
219 }
220 return; 212 return;
221 }) |_| {} 213 }) |_| {}
222 214