Closed alanhdu closed 7 years ago
The following test inserted into src/vlq.rs causes an overflow panic in debug mode:
src/vlq.rs
#[test] fn test_overflow() { parse_vlq_segment("00000000000000"); }
causes
thread 'vlq::test_overflow' panicked at 'attempt to shift left with overflow', src/vlq.rs:34
The following test inserted into
src/vlq.rs
causes an overflow panic in debug mode:causes