fix(render): restore the test's closing brace lost when rebasing onto main (#3179)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Gv2WwdgjmBz33GWkwgNn3Q
This commit is contained in:
mtlcl410
2026-10-19 15:33:25 +08:00
co-authored by Claude Opus 5.5
parent 857fef3b1a
commit 312a97d21c
+1 -1
View File
@@ -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.