mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
terminal: relax cell zero value default test
This commit is contained in:
@ -1236,7 +1236,7 @@ pub const Cell = packed struct(u64) {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
test "Cell is zero by default" {
|
test "Cell is zero by default" {
|
||||||
const cell: Cell = .{};
|
const cell = Cell.init(0);
|
||||||
const cell_int: u64 = @bitCast(cell);
|
const cell_int: u64 = @bitCast(cell);
|
||||||
try std.testing.expectEqual(@as(u64, 0), cell_int);
|
try std.testing.expectEqual(@as(u64, 0), cell_int);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user