Fix test cases for stage2.

Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
This commit is contained in:
Takeshi Yoneda 2021-07-01 09:31:56 +09:00 committed by Andrew Kelley
parent bc7761d8e0
commit d606811f55
2 changed files with 2 additions and 2 deletions

View File

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

View File

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