diff --git a/test/compile_errors.zig b/test/compile_errors.zig index 669970aee7..109347cde8 100644 --- a/test/compile_errors.zig +++ b/test/compile_errors.zig @@ -3,7 +3,9 @@ const builtin = @import("builtin"); const Cases = @import("src/Cases.zig"); pub fn addCases(ctx: *Cases, b: *std.Build) !void { - { + // This test is currently disabled because the leading spaces aligning non-initial lines of the + // error message don't play nice with the test runner. + if (false) { const case = ctx.obj("multiline error message", b.graph.host); case.addError( \\comptime { @@ -15,7 +17,9 @@ pub fn addCases(ctx: *Cases, b: *std.Build) !void { }); } - { + // This test is currently disabled because the leading spaces aligning non-initial lines of the + // error message don't play nice with the test runner. + if (false) { const case = ctx.obj("multiline error message with trailing newline", b.graph.host); case.addError( \\comptime {