mirror of
https://github.com/ziglang/zig.git
synced 2024-12-02 18:12:34 +00:00
Fix test cases for stage2.
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
This commit is contained in:
parent
bc7761d8e0
commit
d606811f55
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user