aboutsummaryrefslogtreecommitdiff
path: root/test/self_hosted.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2016-09-05 17:03:11 -0400
committerAndrew Kelley <superjoe30@gmail.com>2016-09-05 17:03:11 -0400
commitcfaced3f73da2d5fc82f063715d51e06084baee8 (patch)
treea1a5b3d2f51bda2557f14bbe9a90341571444103 /test/self_hosted.zig
parent768a9780ca26166b4481c06e87bc6d090be71b64 (diff)
downloadzig-cfaced3f73da2d5fc82f063715d51e06084baee8.tar.gz
zig-cfaced3f73da2d5fc82f063715d51e06084baee8.zip
rename errName builtin to errorName
Diffstat (limited to 'test/self_hosted.zig')
-rw-r--r--test/self_hosted.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/self_hosted.zig b/test/self_hosted.zig
index e561eefbed..930a6a8fa9 100644
--- a/test/self_hosted.zig
+++ b/test/self_hosted.zig
@@ -766,8 +766,8 @@ error AnError;
error ALongerErrorName;
#attribute("test")
fn errorNameString() {
- assert(str.eql(@errName(error.AnError), "AnError"));
- assert(str.eql(@errName(error.ALongerErrorName), "ALongerErrorName"));
+ assert(str.eql(@errorName(error.AnError), "AnError"));
+ assert(str.eql(@errorName(error.ALongerErrorName), "ALongerErrorName"));
}