aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/error.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/behavior/error.zig')
-rw-r--r--test/behavior/error.zig2
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));
}
};