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/type.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/type.zig')
| -rw-r--r-- | test/behavior/type.zig | 2 |
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, |
