We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ceaa569 commit 663f0b3Copy full SHA for 663f0b3
test/runtime_safety.zig
@@ -89,7 +89,7 @@ pub fn addCases(cases: *tests.CompareOutputContext) void {
89
\\const std = @import("std");
90
\\const V = @import("std").meta.Vector;
91
\\pub fn panic(message: []const u8, stack_trace: ?*@import("builtin").StackTrace) noreturn {
92
- \\ if (std.mem.eql(u8, message, "attempt to cast negative value to unsigned integer")) {
+ \\ if (std.mem.eql(u8, message, "integer cast truncated bits")) {
93
\\ std.process.exit(126); // good
94
\\ }
95
\\ std.process.exit(0); // test failed
0 commit comments