()
| 888 | #[test] |
| 889 | #[should_panic(expected = "the offset of the new Buffer cannot exceed the existing length")] |
| 890 | fn slice_overflow() { |
| 891 | let buffer = Buffer::from(MutableBuffer::from_len_zeroed(12)); |
| 892 | buffer.slice_with_length(2, usize::MAX); |
| 893 | } |
| 894 | |
| 895 | #[test] |
| 896 | fn test_vec_interop() { |
nothing calls this directly
no test coverage detected