mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-09 15:19:07 +00:00
fix stage2 test cases expecting wrong line numbers
Previous commit shifted everything down in the start.zig file, and unfortunately our stage2 test harness depends on absolute line numbers for a couple tests.
This commit is contained in:
parent
d29871977f
commit
f1f28af188
2 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,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{
|
||||||
":95:9: error: struct 'tmp.tmp' has no member named 'main'",
|
":90:9: error: struct 'tmp.tmp' has no member named 'main'",
|
||||||
});
|
});
|
||||||
|
|
||||||
// Incorrect return type
|
// Incorrect return type
|
||||||
|
|
|
||||||
|
|
@ -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{
|
||||||
":95:9: error: struct 'tmp.tmp' has no member named 'main'",
|
":90:9: error: struct 'tmp.tmp' has no member named 'main'",
|
||||||
});
|
});
|
||||||
|
|
||||||
// Incorrect return type
|
// Incorrect return type
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue