mod: bump zig master version
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 1m9s
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 1m9s
This commit is contained in:
@@ -211,14 +211,13 @@ pub fn expectEqualCells(origin: Point, size: Point, expected: []const Cell, actu
|
||||
if (!differ) return;
|
||||
|
||||
// test failed
|
||||
debug.lockStdErr();
|
||||
defer debug.unlockStdErr();
|
||||
|
||||
var stdout_buffer: [1024]u8 = undefined;
|
||||
var stdout = std.fs.File.stdout().writer(&stdout_buffer);
|
||||
const stdout_writer = &stdout.interface;
|
||||
try stdout_writer.writeAll(writer.buffer[0..writer.end]);
|
||||
try stdout_writer.flush();
|
||||
const io = debug.lockStderr(&stdout_buffer);
|
||||
defer debug.unlockStderr();
|
||||
|
||||
const error_writer = &io.file_writer.interface;
|
||||
try error_writer.writeAll(writer.buffer[0..writer.end]);
|
||||
try error_writer.flush();
|
||||
return error.TestExpectEqualCells;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user