()
| 120 | #[test] |
| 121 | #[should_panic(expected = "overflow")] |
| 122 | fn test_i32_overflow() { |
| 123 | let mut builder = OffsetBufferBuilder::<i32>::new(5); |
| 124 | builder.push_length(1); |
| 125 | builder.push_length(i32::MAX as usize); |
| 126 | builder.finish(); |
| 127 | } |
| 128 | } |
nothing calls this directly
no test coverage detected