mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-25 14:05:41 -05:00
Remove tests failing in release mode
This commit is contained in:
parent
f4fccfc7a7
commit
4b2be6d7b1
1 changed files with 0 additions and 15 deletions
|
@ -366,14 +366,6 @@ mod test {
|
||||||
assert_eq!(storage[2], Row::new(Column(1), &'0'));
|
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]
|
#[test]
|
||||||
#[should_panic]
|
#[should_panic]
|
||||||
fn indexing_above_inner_len() {
|
fn indexing_above_inner_len() {
|
||||||
|
@ -392,13 +384,6 @@ mod test {
|
||||||
assert_eq!(storage.zero, 2);
|
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
|
/// Grow the buffer one line at the end of the buffer
|
||||||
///
|
///
|
||||||
/// Before:
|
/// Before:
|
||||||
|
|
Loading…
Reference in a new issue