summaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/grid/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty_terminal/src/grid/tests.rs')
-rw-r--r--alacritty_terminal/src/grid/tests.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/alacritty_terminal/src/grid/tests.rs b/alacritty_terminal/src/grid/tests.rs
index d28e7833..f3480b14 100644
--- a/alacritty_terminal/src/grid/tests.rs
+++ b/alacritty_terminal/src/grid/tests.rs
@@ -29,6 +29,10 @@ impl GridCell for usize {
}
fn set_wrap(&mut self, _wrap: bool) {}
+
+ fn fast_eq(&self, other: Self) -> bool {
+ self == &other
+ }
}
// Scroll up moves lines upwards