terminal: relax cell zero value default test

This commit is contained in:
Mitchell Hashimoto
2024-04-18 14:09:11 -07:00
parent 95fb76c1a7
commit 1f09da02ad

View File

@ -1236,7 +1236,7 @@ pub const Cell = packed struct(u64) {
// }
test "Cell is zero by default" {
const cell: Cell = .{};
const cell = Cell.init(0);
const cell_int: u64 = @bitCast(cell);
try std.testing.expectEqual(@as(u64, 0), cell_int);
}