Skip to content

Commit

Permalink
test(unit): fix column init
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesrocket committed Sep 13, 2024
1 parent 4ca3cfa commit fc3904b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ test "column" {
var core = Core{ .allocator = std.testing.allocator };
try core.start(Style.default);

const column = Column.init(core.allocator);
const column = Column.init(core.allocator, @intCast(core.height));
try core.columns.?.append(column);
try core.columns.?.items[0].?.addChar(&core, Mode.decimal, rand);
try core.columns.?.items[0].?.addChar(&core, Mode.decimal, rand);
Expand Down

0 comments on commit fc3904b

Please sign in to comment.