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.
This commit is contained in:
Andrew Kelley 2021-08-24 13:42:31 -07:00
parent d29871977f
commit f1f28af188
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ pub fn addCases(ctx: *TestContext) !void {
var case = ctx.exe("hello world with updates", linux_x64); var case = ctx.exe("hello world with updates", linux_x64);
case.addError("", &[_][]const u8{ 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 // Incorrect return type

View File

@ -14,7 +14,7 @@ pub fn addCases(ctx: *TestContext) !void {
{ {
var case = ctx.exe("hello world with updates", target); var case = ctx.exe("hello world with updates", target);
case.addError("", &[_][]const u8{ 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 // Incorrect return type