aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/array.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/behavior/array.zig')
-rw-r--r--test/behavior/array.zig5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/behavior/array.zig b/test/behavior/array.zig
index aea4dd357b..b99ac27651 100644
--- a/test/behavior/array.zig
+++ b/test/behavior/array.zig
@@ -570,10 +570,7 @@ test "type coercion of pointer to anon struct literal to pointer to array" {
}
test "array with comptime only element type" {
- const a = [_]type{
- u32,
- i32,
- };
+ const a = [_]type{ u32, i32 };
try testing.expect(a[0] == u32);
try testing.expect(a[1] == i32);
}