| ... | ... | @@ -89,7 +89,7 @@ pub fn addCases(cases: *tests.CompareOutputContext) void { |
| 89 | 89 | \\const std = @import("std"); |
| 90 | 90 | \\const V = @import("std").meta.Vector; |
| 91 | 91 | \\pub fn panic(message: []const u8, stack_trace: ?*@import("builtin").StackTrace) noreturn { |
| 92 | | \\ if (std.mem.eql(u8, message, "integer cast truncated bits")) { |
| 92 | \\ if (std.mem.eql(u8, message, "attempt to cast negative value to unsigned integer")) { |
| 93 | 93 | \\ std.process.exit(126); // good |
| 94 | 94 | \\ } |
| 95 | 95 | \\ std.process.exit(0); // test failed |