Commit f1f28af188

Andrew Kelley <andrew@ziglang.org>
2021-08-24 22:42:31
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.
1 parent d298719
Changed files (2)
test/stage2/darwin.zig
@@ -14,7 +14,7 @@ pub fn addCases(ctx: *TestContext) !void {
         {
             var case = ctx.exe("hello world with updates", target);
             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
test/cases.zig
@@ -26,7 +26,7 @@ pub fn addCases(ctx: *TestContext) !void {
         var case = ctx.exe("hello world with updates", linux_x64);
 
         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