Skip to content

Commit

Permalink
fix: typoed max_row_height test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
bo0tzz committed Jan 13, 2025
1 parent b2564f9 commit 4a5260d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ fn fits_perfectly_on_one_row() {
let max_row_width = layout[0];
assert_eq!(max_row_width, 900);

let max_row_height = layout[0];
assert_eq!(max_row_width, 900);
let max_row_height = layout[1];
assert_eq!(max_row_height, 300);

let [top1, left1, width1, height1] = layout[4..8] else {
unreachable!()
Expand Down

0 comments on commit 4a5260d

Please sign in to comment.