| ... | ... | @@ -1,3 +1,6 @@ |
| 1 | const std = @import("std"); |
| 2 | const builtin = @import("builtin"); |
| 3 | |
| 1 | 4 | pub fn main(init: std.process.Init) !void { |
| 2 | 5 | const arena = init.arena.allocator(); |
| 3 | 6 | const io = init.io; |
| ... | ... | @@ -17,10 +20,7 @@ pub fn main(init: std.process.Init) !void { |
| 17 | 20 | } |
| 18 | 21 | const actual_without_comment = actual[comment_str.len..]; |
| 19 | 22 | |
| 20 | | if (true) return; // https://codeberg.org/ziglang/zig/issues/31368 |
| 23 | if (builtin.os.tag == .windows) return; // https://codeberg.org/ziglang/zig/issues/30138 |
| 21 | 24 | |
| 22 | | if (!std.mem.eql(u8, actual_without_comment, expected)) { |
| 23 | | return error.DoesNotMatch; |
| 24 | | } |
| 25 | try std.testing.expectEqualStrings(expected, actual_without_comment); |
| 25 | 26 | } |
| 26 | | const std = @import("std"); |