mirror of
https://github.com/storytold/lightcraft.git
synced 2026-12-03 23:41:17 -05:00
test(raw): spell control bytes in CR3 preview literals as escapes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014ti8KemZbjE2ZgHgV1q1BM
This commit is contained in:
@@ -204,9 +204,9 @@ fn picks_largest_dct_jpeg() {
|
||||
fn cr3_preview_box_huge_lengths_are_rejected() {
|
||||
let j = fake_jpeg(300);
|
||||
for (size, len) in [(u32::MAX, u32::MAX), (u32::MAX, u32::MAX - 23), (24 + j.len() as u32, u32::MAX - 3)] {
|
||||
let mut cr3 = b" | ||||