From 571f3ed161455074be5f296b39b24cba554da8e0 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 11 Mar 2020 18:45:09 -0400 Subject: [PATCH] fix stray warn() in runtime safety test --- test/runtime_safety.zig | 1 - 1 file changed, 1 deletion(-) diff --git a/test/runtime_safety.zig b/test/runtime_safety.zig index 9855aae16b..5047bfd0d0 100644 --- a/test/runtime_safety.zig +++ b/test/runtime_safety.zig @@ -4,7 +4,6 @@ pub fn addCases(cases: *tests.CompareOutputContext) void { cases.addRuntimeSafety("shift left by huge amount", \\const std = @import("std"); \\pub fn panic(message: []const u8, stack_trace: ?*@import("builtin").StackTrace) noreturn { - \\ std.debug.warn("{}\n", .{message}); \\ if (std.mem.eql(u8, message, "shift amount is greater than the type size")) { \\ std.process.exit(126); // good \\ }