| ... | @@ -3,7 +3,9 @@ const builtin = @import("builtin"); | ... | @@ -3,7 +3,9 @@ const builtin = @import("builtin"); |
| 3 | const Cases = @import("src/Cases.zig"); | 3 | const Cases = @import("src/Cases.zig"); |
| 4 | | 4 | |
| 5 | pub fn addCases(ctx: *Cases, b: *std.Build) !void { | 5 | pub fn addCases(ctx: *Cases, b: *std.Build) !void { |
| 6 | { | 6 | // This test is currently disabled because the leading spaces aligning non-initial lines of the |
| | 7 | // error message don't play nice with the test runner. |
| | 8 | if (false) { |
| 7 | const case = ctx.obj("multiline error message", b.graph.host); | 9 | const case = ctx.obj("multiline error message", b.graph.host); |
| 8 | case.addError( | 10 | case.addError( |
| 9 | \\comptime { | 11 | \\comptime { |
| ... | @@ -15,7 +17,9 @@ pub fn addCases(ctx: *Cases, b: *std.Build) !void { | ... | @@ -15,7 +17,9 @@ pub fn addCases(ctx: *Cases, b: *std.Build) !void { |
| 15 | }); | 17 | }); |
| 16 | } | 18 | } |
| 17 | | 19 | |
| 18 | { | 20 | // This test is currently disabled because the leading spaces aligning non-initial lines of the |
| | 21 | // error message don't play nice with the test runner. |
| | 22 | if (false) { |
| 19 | const case = ctx.obj("multiline error message with trailing newline", b.graph.host); | 23 | const case = ctx.obj("multiline error message with trailing newline", b.graph.host); |
| 20 | case.addError( | 24 | case.addError( |
| 21 | \\comptime { | 25 | \\comptime { |