summaryrefslogtreecommitdiff
path: root/alacritty_terminal/tests/ref.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty_terminal/tests/ref.rs')
-rw-r--r--alacritty_terminal/tests/ref.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/alacritty_terminal/tests/ref.rs b/alacritty_terminal/tests/ref.rs
index 5036a3ed..b55a45e9 100644
--- a/alacritty_terminal/tests/ref.rs
+++ b/alacritty_terminal/tests/ref.rs
@@ -111,14 +111,14 @@ fn ref_test(dir: &Path) {
// Truncate invisible lines from the grid.
let mut term_grid = terminal.grid().clone();
- term_grid.initialize_all(Cell::default());
+ term_grid.initialize_all();
term_grid.truncate();
if grid != term_grid {
for i in 0..grid.total_lines() {
for j in 0..grid.cols().0 {
- let cell = term_grid[i][Column(j)];
- let original_cell = grid[i][Column(j)];
+ let cell = &term_grid[i][Column(j)];
+ let original_cell = &grid[i][Column(j)];
if original_cell != cell {
println!(
"[{i}][{j}] {original:?} => {now:?}",