aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/type.zig
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2021-06-13 22:27:27 +0300
committerVeikka Tuominen <git@vexu.eu>2021-06-14 00:16:40 +0300
commite63ff4f1c110165c4b92025cb5b9d5531e861643 (patch)
tree277384b63ba8398200de8e9adc36110597f4470b /test/behavior/type.zig
parentb9f07b7ac227134001258e5933e3ef61aae80303 (diff)
downloadzig-e63ff4f1c110165c4b92025cb5b9d5531e861643.tar.gz
zig-e63ff4f1c110165c4b92025cb5b9d5531e861643.zip
add ast-check flag to zig fmt, fix found bugs
Diffstat (limited to 'test/behavior/type.zig')
-rw-r--r--test/behavior/type.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/behavior/type.zig b/test/behavior/type.zig
index 5fd89ab43c..5d12ea494f 100644
--- a/test/behavior/type.zig
+++ b/test/behavior/type.zig
@@ -410,7 +410,7 @@ test "Type.Union from Type.Enum" {
}
test "Type.Union from regular enum" {
- const E = enum { working_as_expected = 0 };
+ const E = enum { working_as_expected };
const T = @Type(.{
.Union = .{
.layout = .Auto,