| ... | @@ -405,7 +405,7 @@ test "tuple of struct concatenation and coercion to array" { | ... | @@ -405,7 +405,7 @@ test "tuple of struct concatenation and coercion to array" { |
| 405 | const SomeStruct = struct { array: [4]StructWithDefault }; | 405 | const SomeStruct = struct { array: [4]StructWithDefault }; |
| 406 | | 406 | |
| 407 | const value1 = SomeStruct{ .array = .{StructWithDefault{}} ++ [_]StructWithDefault{.{}} ** 3 }; | 407 | const value1 = SomeStruct{ .array = .{StructWithDefault{}} ++ [_]StructWithDefault{.{}} ** 3 }; |
| 408 | const value2 = SomeStruct{ .array = .{.{}} ++ [_]StructWithDefault{.{}} ** 3 }; | 408 | const value2 = SomeStruct{ .array = .{ .{}, .{}, .{}, .{} } }; |
| 409 | | 409 | |
| 410 | try expectEqual(value1, value2); | 410 | try expectEqual(value1, value2); |
| 411 | } | 411 | } |