From 312a97d21ce3573483d696ae41810f24ad2e735f Mon Sep 17 00:00:00 2001 From: mtlcl410 <2368091+mtlcl410@users.noreply.github.com> Date: Mon, 19 Oct 2026 15:33:25 +0800 Subject: [PATCH] fix(render): restore the test's closing brace lost when rebasing onto main (#3179) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Gv2WwdgjmBz33GWkwgNn3Q --- vendor/hayro-syntax/src/filter/jpx.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/hayro-syntax/src/filter/jpx.rs b/vendor/hayro-syntax/src/filter/jpx.rs index 1f8ebf498..b1f5dc583 100644 --- a/vendor/hayro-syntax/src/filter/jpx.rs +++ b/vendor/hayro-syntax/src/filter/jpx.rs @@ -228,7 +228,6 @@ fn scale( #[cfg(test)] mod tests { use super::{decode, scale, without_refused_enumerated_colour}; - use crate::bit_reader::{BitReader, bit_mask}; use crate::object::stream::{ImageColorSpace, ImageDecodeParams}; use alloc::vec::Vec; @@ -365,6 +364,7 @@ mod tests { data[at..at + 4].copy_from_slice(&bad.to_be_bytes()); assert_eq!(without_refused_enumerated_colour(&data), None, "{bad:#x}"); } + } /// A 4x2 JP2 written for this test: one 8-bit component whose samples (0, 1) index a /// two-entry sRGB palette (`pclr` + `cmap`): red, then blue. Rows: 0 1 0 1 / 1 0 1 0.