summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2019-11-19 19:04:01 +0100
committerChristian Duerr <contact@christianduerr.com>2019-11-19 19:04:01 +0100
commiteb85e59870f4368649867196c245a88823afd06b (patch)
tree3e98ff77b8c54a1f73c0595d074890bf2acccd96
parentff14f233876544ad84434e94ea8d0b54f9ad50ba (diff)
parent4b2be6d7b1a6161f1b1fcd40576c3417779cfb90 (diff)
Merge branch 'master' of github.com:jwilm/alacritty into v0.4.0
-rw-r--r--alacritty_terminal/src/grid/storage.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/alacritty_terminal/src/grid/storage.rs b/alacritty_terminal/src/grid/storage.rs
index 1a6d9913..0161daff 100644
--- a/alacritty_terminal/src/grid/storage.rs
+++ b/alacritty_terminal/src/grid/storage.rs
@@ -368,14 +368,6 @@ mod test {
#[test]
#[should_panic]
- fn indexing_above_len() {
- let mut storage = Storage::with_capacity(Line(3), Row::new(Column(0), &' '));
- storage.shrink_lines(2);
- let _ = &storage[1];
- }
-
- #[test]
- #[should_panic]
fn indexing_above_inner_len() {
let storage = Storage::with_capacity(Line(1), Row::new(Column(0), &' '));
let _ = &storage[2];
@@ -392,13 +384,6 @@ mod test {
assert_eq!(storage.zero, 2);
}
- #[test]
- #[should_panic]
- fn rotate_overflow() {
- let mut storage = Storage::with_capacity(Line(3), Row::new(Column(0), &' '));
- storage.rotate(4);
- }
-
/// Grow the buffer one line at the end of the buffer
///
/// Before: