authorgravatar for vincent@rischmann.frVincent Rischmann <vincent@rischmann.fr> 2020-04-01 13:13:47+02:00
committergravatar for vincent@rischmann.frVincent Rischmann <vincent@rischmann.fr> 2020-04-01 13:13:47+02:00
log748b2c72a34265e57f6fb2987ab705563f17abe2
treed294cc0bcf49b409e815cd33690e8eac084b0c63
parentf46121b8fc1df6d97bd96116166366ed4dcc5a8c
signaturelock-open Commit is signed but in an unrecognized format.

io: fix COutStream test


1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/io/c_out_stream.zig+2-2
......@@ -36,9 +36,9 @@ test "" {
3636 const out_file = std.c.fopen(filename, "w") orelse return error.UnableToOpenTestFile;
3737 defer {
3838 _ = std.c.fclose(out_file);
39 fs.cwd().deleteFileZ(filename) catch {};
39 std.fs.cwd().deleteFileZ(filename) catch {};
4040 }
4141
42 const out_stream = &io.COutStream.init(out_file).stream;
42 const out_stream = &cOutStream(out_file);
4343 try out_stream.print("hi: {}\n", .{@as(i32, 123)});
4444}