()
| 451 | #[test] |
| 452 | #[should_panic(expected = "buffer length overflow")] |
| 453 | fn append_n_zeroed_length_overflow() { |
| 454 | let mut builder = BufferBuilder::<u64>::new(1); |
| 455 | builder.append_n_zeroed(1); |
| 456 | builder.append_n_zeroed(usize::MAX / mem::size_of::<u64>()); |
| 457 | } |
| 458 | |
| 459 | #[test] |
| 460 | #[should_panic(expected = "buffer length overflow")] |
nothing calls this directly
no test coverage detected