| ... | ... | @@ -13,7 +13,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 13 | 13 | .Debug = .{ |
| 14 | 14 | .expect = |
| 15 | 15 | \\error: TheSkyIsFalling |
| 16 | | \\source.zig:2:5: [address] in main (test) |
| 16 | \\source.zig:2:5: [address] in main ([main_file]) |
| 17 | 17 | \\ return error.TheSkyIsFalling; |
| 18 | 18 | \\ ^ |
| 19 | 19 | \\ |
| ... | ... | @@ -61,10 +61,10 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 61 | 61 | .Debug = .{ |
| 62 | 62 | .expect = |
| 63 | 63 | \\error: TheSkyIsFalling |
| 64 | | \\source.zig:2:5: [address] in foo (test) |
| 64 | \\source.zig:2:5: [address] in foo ([main_file]) |
| 65 | 65 | \\ return error.TheSkyIsFalling; |
| 66 | 66 | \\ ^ |
| 67 | | \\source.zig:6:5: [address] in main (test) |
| 67 | \\source.zig:6:5: [address] in main ([main_file]) |
| 68 | 68 | \\ try foo(); |
| 69 | 69 | \\ ^ |
| 70 | 70 | \\ |
| ... | ... | @@ -120,7 +120,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 120 | 120 | .Debug = .{ |
| 121 | 121 | .expect = |
| 122 | 122 | \\error: UnrelatedError |
| 123 | | \\source.zig:13:5: [address] in main (test) |
| 123 | \\source.zig:13:5: [address] in main ([main_file]) |
| 124 | 124 | \\ return error.UnrelatedError; |
| 125 | 125 | \\ ^ |
| 126 | 126 | \\ |
| ... | ... | @@ -172,7 +172,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 172 | 172 | .Debug = .{ |
| 173 | 173 | .expect = |
| 174 | 174 | \\error: UnrelatedError |
| 175 | | \\source.zig:10:5: [address] in main (test) |
| 175 | \\source.zig:10:5: [address] in main ([main_file]) |
| 176 | 176 | \\ return error.UnrelatedError; |
| 177 | 177 | \\ ^ |
| 178 | 178 | \\ |
| ... | ... | @@ -224,10 +224,10 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 224 | 224 | .Debug = .{ |
| 225 | 225 | .expect = |
| 226 | 226 | \\error: TheSkyIsFalling |
| 227 | | \\source.zig:2:5: [address] in foo (test) |
| 227 | \\source.zig:2:5: [address] in foo ([main_file]) |
| 228 | 228 | \\ return error.TheSkyIsFalling; |
| 229 | 229 | \\ ^ |
| 230 | | \\source.zig:10:5: [address] in main (test) |
| 230 | \\source.zig:10:5: [address] in main ([main_file]) |
| 231 | 231 | \\ try foo(); |
| 232 | 232 | \\ ^ |
| 233 | 233 | \\ |
| ... | ... | @@ -284,7 +284,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 284 | 284 | .Debug = .{ |
| 285 | 285 | .expect = |
| 286 | 286 | \\error: BadTime |
| 287 | | \\source.zig:12:5: [address] in main (test) |
| 287 | \\source.zig:12:5: [address] in main ([main_file]) |
| 288 | 288 | \\ return error.BadTime; |
| 289 | 289 | \\ ^ |
| 290 | 290 | \\ |
| ... | ... | @@ -332,10 +332,10 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 332 | 332 | .Debug = .{ |
| 333 | 333 | .expect = |
| 334 | 334 | \\error: AndMyCarIsOutOfGas |
| 335 | | \\source.zig:2:5: [address] in foo (test) |
| 335 | \\source.zig:2:5: [address] in foo ([main_file]) |
| 336 | 336 | \\ return error.TheSkyIsFalling; |
| 337 | 337 | \\ ^ |
| 338 | | \\source.zig:6:5: [address] in main (test) |
| 338 | \\source.zig:6:5: [address] in main ([main_file]) |
| 339 | 339 | \\ return foo() catch error.AndMyCarIsOutOfGas; |
| 340 | 340 | \\ ^ |
| 341 | 341 | \\ |
| ... | ... | @@ -391,7 +391,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 391 | 391 | .Debug = .{ |
| 392 | 392 | .expect = |
| 393 | 393 | \\error: SomethingUnrelatedWentWrong |
| 394 | | \\source.zig:11:5: [address] in main (test) |
| 394 | \\source.zig:11:5: [address] in main ([main_file]) |
| 395 | 395 | \\ return error.SomethingUnrelatedWentWrong; |
| 396 | 396 | \\ ^ |
| 397 | 397 | \\ |
| ... | ... | @@ -456,13 +456,13 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 456 | 456 | .Debug = .{ |
| 457 | 457 | .expect = |
| 458 | 458 | \\error: StillUnresolved |
| 459 | | \\source.zig:1:18: [address] in foo (test) |
| 459 | \\source.zig:1:18: [address] in foo ([main_file]) |
| 460 | 460 | \\fn foo() !void { return error.TheSkyIsFalling; } |
| 461 | 461 | \\ ^ |
| 462 | | \\source.zig:2:18: [address] in bar (test) |
| 462 | \\source.zig:2:18: [address] in bar ([main_file]) |
| 463 | 463 | \\fn bar() !void { return error.InternalError; } |
| 464 | 464 | \\ ^ |
| 465 | | \\source.zig:23:5: [address] in main (test) |
| 465 | \\source.zig:23:5: [address] in main ([main_file]) |
| 466 | 466 | \\ return error.StillUnresolved; |
| 467 | 467 | \\ ^ |
| 468 | 468 | \\ |
| ... | ... | @@ -527,13 +527,13 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 527 | 527 | .Debug = .{ |
| 528 | 528 | .expect = |
| 529 | 529 | \\error: TestExpectedError |
| 530 | | \\source.zig:9:18: [address] in foo (test) |
| 530 | \\source.zig:9:18: [address] in foo ([main_file]) |
| 531 | 531 | \\fn foo() !void { return error.Foo; } |
| 532 | 532 | \\ ^ |
| 533 | | \\source.zig:5:5: [address] in expectError (test) |
| 533 | \\source.zig:5:5: [address] in expectError ([main_file]) |
| 534 | 534 | \\ return error.TestExpectedError; |
| 535 | 535 | \\ ^ |
| 536 | | \\source.zig:17:5: [address] in main (test) |
| 536 | \\source.zig:17:5: [address] in main ([main_file]) |
| 537 | 537 | \\ try expectError(error.Bar, foo()); |
| 538 | 538 | \\ ^ |
| 539 | 539 | \\ |
| ... | ... | @@ -592,13 +592,13 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 592 | 592 | .Debug = .{ |
| 593 | 593 | .expect = |
| 594 | 594 | \\error: AndMyCarIsOutOfGas |
| 595 | | \\source.zig:2:5: [address] in foo (test) |
| 595 | \\source.zig:2:5: [address] in foo ([main_file]) |
| 596 | 596 | \\ return error.TheSkyIsFalling; |
| 597 | 597 | \\ ^ |
| 598 | | \\source.zig:6:5: [address] in bar (test) |
| 598 | \\source.zig:6:5: [address] in bar ([main_file]) |
| 599 | 599 | \\ return error.AndMyCarIsOutOfGas; |
| 600 | 600 | \\ ^ |
| 601 | | \\source.zig:11:9: [address] in main (test) |
| 601 | \\source.zig:11:9: [address] in main ([main_file]) |
| 602 | 602 | \\ try bar(); |
| 603 | 603 | \\ ^ |
| 604 | 604 | \\ |
| ... | ... | @@ -657,13 +657,13 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 657 | 657 | .Debug = .{ |
| 658 | 658 | .expect = |
| 659 | 659 | \\error: AndMyCarIsOutOfGas |
| 660 | | \\source.zig:2:5: [address] in foo (test) |
| 660 | \\source.zig:2:5: [address] in foo ([main_file]) |
| 661 | 661 | \\ return error.TheSkyIsFalling; |
| 662 | 662 | \\ ^ |
| 663 | | \\source.zig:6:5: [address] in bar (test) |
| 663 | \\source.zig:6:5: [address] in bar ([main_file]) |
| 664 | 664 | \\ return error.AndMyCarIsOutOfGas; |
| 665 | 665 | \\ ^ |
| 666 | | \\source.zig:11:9: [address] in main (test) |
| 666 | \\source.zig:11:9: [address] in main ([main_file]) |
| 667 | 667 | \\ try bar(); |
| 668 | 668 | \\ ^ |
| 669 | 669 | \\ |
| ... | ... | @@ -724,16 +724,16 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 724 | 724 | .Debug = .{ |
| 725 | 725 | .expect = |
| 726 | 726 | \\error: TheSkyIsFalling |
| 727 | | \\source.zig:10:5: [address] in make_error (test) |
| 727 | \\source.zig:10:5: [address] in make_error ([main_file]) |
| 728 | 728 | \\ return error.TheSkyIsFalling; |
| 729 | 729 | \\ ^ |
| 730 | | \\source.zig:6:5: [address] in bar (test) |
| 730 | \\source.zig:6:5: [address] in bar ([main_file]) |
| 731 | 731 | \\ return make_error(); |
| 732 | 732 | \\ ^ |
| 733 | | \\source.zig:2:5: [address] in foo (test) |
| 733 | \\source.zig:2:5: [address] in foo ([main_file]) |
| 734 | 734 | \\ try bar(); |
| 735 | 735 | \\ ^ |
| 736 | | \\source.zig:14:5: [address] in main (test) |
| 736 | \\source.zig:14:5: [address] in main ([main_file]) |
| 737 | 737 | \\ try foo(); |
| 738 | 738 | \\ ^ |
| 739 | 739 | \\ |
| ... | ... | @@ -797,10 +797,10 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 797 | 797 | .windows, // TODO intermittent failures |
| 798 | 798 | }, |
| 799 | 799 | .expect = |
| 800 | | \\source.zig:7:8: [address] in foo (test) |
| 800 | \\source.zig:7:8: [address] in foo ([main_file]) |
| 801 | 801 | \\ bar(); |
| 802 | 802 | \\ ^ |
| 803 | | \\source.zig:10:8: [address] in main (test) |
| 803 | \\source.zig:10:8: [address] in main ([main_file]) |
| 804 | 804 | \\ foo(); |
| 805 | 805 | \\ ^ |
| 806 | 806 | \\ |
| ... | ... | @@ -829,7 +829,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void { |
| 829 | 829 | .Debug = .{ |
| 830 | 830 | .expect = |
| 831 | 831 | \\error: TheSkyIsFalling |
| 832 | | \\source.zig:3:5: [address] in main (test) |
| 832 | \\source.zig:3:5: [address] in main ([main_file]) |
| 833 | 833 | \\ return error.TheSkyIsFalling; |
| 834 | 834 | \\ ^ |
| 835 | 835 | \\ |