aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/error.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-06-13 20:39:40 -0400
committerGitHub <noreply@github.com>2021-06-13 20:39:40 -0400
commit86ebd4b975d2f1e01f468e06daab6e28c06f9719 (patch)
tree250bfe03e0768bdf7619fa8bb588b6815e1d3f0d /test/behavior/error.zig
parentdf4f11f42f44b4ee2a06e43095bc160277ceed42 (diff)
parente63ff4f1c110165c4b92025cb5b9d5531e861643 (diff)
downloadzig-86ebd4b975d2f1e01f468e06daab6e28c06f9719.tar.gz
zig-86ebd4b975d2f1e01f468e06daab6e28c06f9719.zip
Merge pull request #9106 from Vexu/fmt
Add formatting check to CI pipeline
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));
}
};