LR-IMP-FORMATS: the R5 Mark II QP-map test is a test again (its #[test] was lost merging #915 next to #829)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01BKWB9TCnvzJHV6xMLAj2J4
This commit is contained in:
Claude committed 2026-10-11 12:33:43 +00:00
1 parent 44f86dc855
commit fce79feadb
1 file changed
+1
+1
View File
@@ -1037,6 +1037,7 @@ mod tests {
assert!(matches!(qp_map(&[0, 0, 1, 0x52, 0x94], 1, 4), Err(RawError::Unsupported(_))));
}
#[test]
fn long_qp_prefixes_and_escapes_as_on_the_eos_r5_mark_ii() {
// EOS R5 Mark II maps (QP 150–162) jump by up to 12 where k is 0: an 18-zero prefix that an
// escape after 16 zeros misread, then a real escape (23 zeros, 1, symbol 23 = −12).