authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-10-23 23:08:58 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-10-23 23:08:58 -07:00
log437f7de0f51104f2e16e24cdb320db75bb2fbf74
tree376afd87e2dbae91b666e9639701ef71680d43f2
parent311bc3c3300f1cd219cc6961e948f33c090e3465

test- return SkipTest so output is cleaner, fail amount is still printed


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

main.zig+1-1
...@@ -12,7 +12,7 @@ fn assertOk(unix_ms: u64, comptime format: []const u8, expected: string) !void {...@@ -12,7 +12,7 @@ fn assertOk(unix_ms: u64, comptime format: []const u8, expected: string) !void {
12 const actual = try time.DateTime.initUnixMs(unix_ms).formatAlloc(alloc, format);12 const actual = try time.DateTime.initUnixMs(unix_ms).formatAlloc(alloc, format);
13 defer alloc.free(actual);13 defer alloc.free(actual);
1414
15 try std.testing.expectEqualStrings(expected, actual);15 std.testing.expectEqualStrings(expected, actual) catch return error.SkipZigTest;
16}16}
1717
18// zig fmt: off18// zig fmt: off