summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2017-10-12 20:29:35 -0700
committerJoe Wilm <joe@jwilm.com>2018-06-02 09:24:38 -0700
commit4ed25009c49b5963d91f4e3c7ead0f4a5b678980 (patch)
treeb8e2f978c550662843a41e4d3f3ffda775b801d8 /tests
parent6fc0e1ec49561fd9783332b30632471336004aed (diff)
downloadalacritty-4ed25009c49b5963d91f4e3c7ead0f4a5b678980.tar.gz
alacritty-4ed25009c49b5963d91f4e3c7ead0f4a5b678980.zip
Remove some unused methods and impls
Diffstat (limited to 'tests')
-rw-r--r--tests/ref.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ref.rs b/tests/ref.rs
index 2a093704..6836a9f5 100644
--- a/tests/ref.rs
+++ b/tests/ref.rs
@@ -6,6 +6,7 @@ use std::io::{self, Read};
use std::path::Path;
use alacritty::Grid;
+use alacritty::grid::IndexRegion;
use alacritty::Term;
use alacritty::ansi;
use alacritty::index::{Line, Column};
@@ -84,7 +85,7 @@ fn ref_test(dir: &Path) {
}
if grid != *terminal.grid() {
- for (i, row) in terminal.grid().lines().enumerate() {
+ for (i, row) in terminal.grid().region(..).into_iter().enumerate() {
for (j, cell) in row.iter().enumerate() {
let original_cell = &grid[Line(i)][Column(j)];
if *original_cell != *cell {