Fix formatting

This commit is contained in:
Maria Pospelova committed 2026-03-03 13:26:09 +00:00
1 parent c304a3cc13
commit a0a95ef86e
1 file changed
+8 -3
+8 -3
View File
@@ -721,7 +721,6 @@ fn extra_bits_rgb() {
test_image_sum_u8("extra_bits_rgb_8b.tiff", ColorType::RGB(8), 0);
}
#[test]
#[cfg(feature = "fax")]
fn test_decode_huge_g4() {
@@ -731,9 +730,15 @@ fn test_decode_huge_g4() {
let (width, height) = decoder.dimensions().expect("failed to get dimensions");
assert!(height > u16::MAX as u32, "Test image height {} is not large enough to test u16 overflow", height);
assert!(
height > u16::MAX as u32,
"Test image height {} is not large enough to test u16 overflow",
height
);
let result = decoder.read_image().expect("failed to decode huge G4 image");
let result = decoder
.read_image()
.expect("failed to decode huge G4 image");
if let tiff::decoder::DecodingResult::U8(data) = result {
assert_eq!(data.len(), (width as usize * height as usize));