mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-02 14:39:41 -06: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:
co-authored by
Claude Opus 5.5
parent
63b6de336f
commit
29f9c19046
@@ -204,9 +204,9 @@ fn picks_largest_dct_jpeg() {
|
|||||||
fn cr3_preview_box_huge_lengths_are_rejected() {
|
fn cr3_preview_box_huge_lengths_are_rejected() {
|
||||||
let j = fake_jpeg(300);
|
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)] {
|
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" | |||||||