1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2025-04-14 17:53:03 -04:00

Merge branch 'master' of github.com:jwilm/alacritty into v0.4.0

This commit is contained in:
Christian Duerr 2019-11-19 19:04:01 +01:00
commit eb85e59870
No known key found for this signature in database
GPG key ID: 85CDAE3C164BA7B4

View file

@ -366,14 +366,6 @@ mod test {
assert_eq!(storage[2], Row::new(Column(1), &'0'));
}
#[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() {
@ -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: