diff options
-rw-r--r-- | alacritty_terminal/src/grid/storage.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/alacritty_terminal/src/grid/storage.rs b/alacritty_terminal/src/grid/storage.rs index ad6358f0..0b36fef6 100644 --- a/alacritty_terminal/src/grid/storage.rs +++ b/alacritty_terminal/src/grid/storage.rs @@ -317,6 +317,7 @@ mod tests { #[test] #[should_panic] + #[cfg(debug_assertions)] fn indexing_above_inner_len() { let storage = Storage::<char>::with_capacity(1, 1); let _ = &storage[Line(-1)]; |