From 4ed25009c49b5963d91f4e3c7ead0f4a5b678980 Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Thu, 12 Oct 2017 20:29:35 -0700 Subject: Remove some unused methods and impls --- tests/ref.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') 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 { -- cgit