()
| 1585 | #[test] |
| 1586 | #[should_panic(expected = "mutable buffer length overflow")] |
| 1587 | fn test_repeat_slice_count_len_overflow() { |
| 1588 | let mut buffer = MutableBuffer::new(0); |
| 1589 | buffer.push(0_u8); |
| 1590 | buffer.repeat_slice_n_times(&[0_u8], usize::MAX); |
| 1591 | } |
| 1592 | |
| 1593 | #[test] |
| 1594 | fn test_small_repeats_counts() { |
nothing calls this directly
no test coverage detected