diff options
| author | Veikka Tuominen <git@vexu.eu> | 2021-06-13 22:27:27 +0300 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2021-06-14 00:16:40 +0300 |
| commit | e63ff4f1c110165c4b92025cb5b9d5531e861643 (patch) | |
| tree | 277384b63ba8398200de8e9adc36110597f4470b /test/behavior/error.zig | |
| parent | b9f07b7ac227134001258e5933e3ef61aae80303 (diff) | |
| download | zig-e63ff4f1c110165c4b92025cb5b9d5531e861643.tar.gz zig-e63ff4f1c110165c4b92025cb5b9d5531e861643.zip | |
add ast-check flag to zig fmt, fix found bugs
Diffstat (limited to 'test/behavior/error.zig')
| -rw-r--r-- | test/behavior/error.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/behavior/error.zig b/test/behavior/error.zig index e5129f180d..c0b4dc0231 100644 --- a/test/behavior/error.zig +++ b/test/behavior/error.zig @@ -394,7 +394,7 @@ test "function pointer with return type that is error union with payload which i } fn doTheTest() !void { - var x = Foo{ .fun = bar }; + var x = Foo{ .fun = @This().bar }; try expectError(error.UnspecifiedErr, x.fun(1)); } }; |
