mirror of
https://github.com/ziglang/zig.git
synced 2025-12-23 22:53:06 +00:00
tests: Update line numbers
This commit is contained in:
parent
fd6d5f1609
commit
aa6422d792
@ -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{
|
||||||
":84:9: error: struct 'test_case.test_case' has no member named 'main'",
|
":85:9: error: struct 'test_case.test_case' has no member named 'main'",
|
||||||
});
|
});
|
||||||
|
|
||||||
// Incorrect return type
|
// Incorrect return type
|
||||||
|
|||||||
@ -24,7 +24,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{
|
||||||
":84:9: error: struct 'test_case.test_case' has no member named 'main'",
|
":85:9: error: struct 'test_case.test_case' has no member named 'main'",
|
||||||
});
|
});
|
||||||
|
|
||||||
// Incorrect return type
|
// Incorrect return type
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user