stage2: Adjust line numbers in tests

This commit is contained in:
Koakuma 2022-04-14 23:15:56 +07:00
parent 9201fbe85b
commit 2ee83e76f7
2 changed files with 7 additions and 7 deletions

View File

@ -159,7 +159,7 @@ pub fn addCases(ctx: *TestContext) !void {
{
var case = ctx.exe("hello world with updates", macos_aarch64);
case.addError("", &[_][]const u8{
":108:9: error: struct 'tmp.tmp' has no member named 'main'",
":109:9: error: struct 'tmp.tmp' has no member named 'main'",
});
// Incorrect return type

View File

@ -1925,7 +1925,7 @@ fn addLinuxTestCases(ctx: *TestContext) !void {
var case = ctx.exe("hello world with updates", linux_x64);
case.addError("", &[_][]const u8{
":108:9: error: struct 'tmp.tmp' has no member named 'main'",
":109:9: error: struct 'tmp.tmp' has no member named 'main'",
});
// Incorrect return type
@ -2176,7 +2176,7 @@ fn addMacOsTestCases(ctx: *TestContext) !void {
{
var case = ctx.exe("darwin hello world with updates", macos_x64);
case.addError("", &[_][]const u8{
":108:9: error: struct 'tmp.tmp' has no member named 'main'",
":109:9: error: struct 'tmp.tmp' has no member named 'main'",
});
// Incorrect return type