aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-08-24 13:42:31 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-08-24 13:42:31 -0700
commitf1f28af1880a79bb2d7210d3a704c78698f0b45b (patch)
tree13d0879f90b3f61434a2087aace8b383afcd8a86
parentd29871977f97b50fe5e3f16cd9c68ebeba02a562 (diff)
downloadzig-f1f28af1880a79bb2d7210d3a704c78698f0b45b.tar.gz
zig-f1f28af1880a79bb2d7210d3a704c78698f0b45b.zip
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.
-rw-r--r--test/cases.zig2
-rw-r--r--test/stage2/darwin.zig2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/cases.zig b/test/cases.zig
index e8479b792e..4dc4499e60 100644
--- 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
index 3f05d6c198..87b04d1dff 100644
--- 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