Update usage of testing.expectEqual

This commit is contained in:
Krzysztof Wolicki
2024-01-04 13:30:34 +01:00
parent 1d49492e04
commit 0842e572df
2 changed files with 3 additions and 3 deletions

View File

@@ -161,7 +161,7 @@ test "Padding balanced on zero" {
const cell: CellSize = .{ .width = 10, .height = 20 };
const screen: ScreenSize = .{ .width = 0, .height = 0 };
const padding = Padding.balanced(screen, grid, cell);
try testing.expectEqual(padding, .{});
try testing.expectEqual(Padding{}, padding);
}
test "GridSize update exact" {