mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13: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
@ -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…
x
Reference in New Issue
Block a user