aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ref.rs b/tests/ref.rs
index b8587955..2a093704 100644
--- a/tests/ref.rs
+++ b/tests/ref.rs
@@ -84,7 +84,7 @@ fn ref_test(dir: &Path) {
}
if grid != *terminal.grid() {
- for (i, row) in terminal.grid().iter_rows().enumerate() {
+ for (i, row) in terminal.grid().lines().enumerate() {
for (j, cell) in row.iter().enumerate() {
let original_cell = &grid[Line(i)][Column(j)];
if *original_cell != *cell {