| ... | @@ -1,3 +1,6 @@ | ... | @@ -1,3 +1,6 @@ |
| | 1 | const std = @import("std"); |
| | 2 | const builtin = @import("builtin"); |
| | 3 | |
| 1 | pub fn main(init: std.process.Init) !void { | 4 | pub fn main(init: std.process.Init) !void { |
| 2 | const arena = init.arena.allocator(); | 5 | const arena = init.arena.allocator(); |
| 3 | const io = init.io; | 6 | const io = init.io; |
| ... | @@ -17,10 +20,7 @@ pub fn main(init: std.process.Init) !void { | ... | @@ -17,10 +20,7 @@ pub fn main(init: std.process.Init) !void { |
| 17 | } | 20 | } |
| 18 | const actual_without_comment = actual[comment_str.len..]; | 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)) { | 25 | try std.testing.expectEqualStrings(expected, actual_without_comment); |
| 23 | return error.DoesNotMatch; | | |
| 24 | } | | |
| 25 | } | 26 | } |
| 26 | const std = @import("std"); | | |