authorgravatar for takeshi@tetrate.ioTakeshi Yoneda <takeshi@tetrate.io> 2021-07-01 09:31:56+09:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-06-30 20:35:17-04:00
logd606811f555e6906d1f8189dd2bf123cf98faf91
treed628c0ac0fc0c23c56708158682e16b020f7b310
parentbc7761d8e0bb70adb3c76c588f9f0b62937c6571

Fix test cases for stage2.

Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>

2 files changed, 2 insertions(+), 2 deletions(-)

test/stage2/darwin.zig+1-1
...@@ -14,7 +14,7 @@ pub fn addCases(ctx: *TestContext) !void {...@@ -14,7 +14,7 @@ pub fn addCases(ctx: *TestContext) !void {
14 {14 {
15 var case = ctx.exe("hello world with updates", target);15 var case = ctx.exe("hello world with updates", target);
16 case.addError("", &[_][]const u8{16 case.addError("", &[_][]const u8{
17 ":85:9: error: struct 'test_case.test_case' has no member named 'main'",17 ":86:9: error: struct 'test_case.test_case' has no member named 'main'",
18 });18 });
1919
20 // Incorrect return type20 // Incorrect return type
test/stage2/test.zig+1-1
...@@ -24,7 +24,7 @@ pub fn addCases(ctx: *TestContext) !void {...@@ -24,7 +24,7 @@ pub fn addCases(ctx: *TestContext) !void {
24 var case = ctx.exe("hello world with updates", linux_x64);24 var case = ctx.exe("hello world with updates", linux_x64);
2525
26 case.addError("", &[_][]const u8{26 case.addError("", &[_][]const u8{
27 ":85:9: error: struct 'test_case.test_case' has no member named 'main'",27 ":86:9: error: struct 'test_case.test_case' has no member named 'main'",
28 });28 });
2929
30 // Incorrect return type30 // Incorrect return type