zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit f1f28af1880a79bb2d7210d3a704c78698f0b45b (tree)
parent d29871977f97b50fe5e3f16cd9c68ebeba02a562
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Tue, 24 Aug 2021 13:42:31 -0700

fix stage2 test cases expecting wrong line numbers

Previous commit shifted everything down in the start.zig file, and
unfortunately our stage2 test harness depends on absolute line
numbers for a couple tests.

Diffstat:
Mtest/cases.zig | 2+-
Mtest/stage2/darwin.zig | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/cases.zig b/test/cases.zig @@ -26,7 +26,7 @@ pub fn addCases(ctx: *TestContext) !void { var case = ctx.exe("hello world with updates", linux_x64); case.addError("", &[_][]const u8{ - ":95:9: error: struct 'tmp.tmp' has no member named 'main'", + ":90:9: error: struct 'tmp.tmp' has no member named 'main'", }); // Incorrect return type diff --git a/test/stage2/darwin.zig b/test/stage2/darwin.zig @@ -14,7 +14,7 @@ pub fn addCases(ctx: *TestContext) !void { { var case = ctx.exe("hello world with updates", target); case.addError("", &[_][]const u8{ - ":95:9: error: struct 'tmp.tmp' has no member named 'main'", + ":90:9: error: struct 'tmp.tmp' has no member named 'main'", }); // Incorrect return type