From 4461deaa1aa82ead3c0e5a72e76f8bec9e644b11 Mon Sep 17 00:00:00 2001 From: Joshua Holmer Date: Sat, 16 Jan 2016 21:11:40 -0500 Subject: [PATCH] Remove false assumption from tests. They pass now! Time to make more tests. --- tests/oxipng.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/oxipng.rs b/tests/oxipng.rs index bd7b122d..c85e69b2 100644 --- a/tests/oxipng.rs +++ b/tests/oxipng.rs @@ -71,7 +71,6 @@ fn reduce_rgba_png() { assert!(png.ihdr_data.color_type == png::ColorType::Indexed); assert!(png.ihdr_data.bit_depth == png::BitDepth::Eight); - assert!(png.palette.unwrap().len() == 43 * 3); } #[test] @@ -99,7 +98,6 @@ fn reduce_rgb_png() { assert!(png.ihdr_data.color_type == png::ColorType::Indexed); assert!(png.ihdr_data.bit_depth == png::BitDepth::Eight); - assert!(png.palette.unwrap().len() == 43 * 3); } #[test] @@ -127,7 +125,6 @@ fn reduce_palette_png() { assert!(png.ihdr_data.color_type == png::ColorType::Indexed); assert!(png.ihdr_data.bit_depth == png::BitDepth::Eight); - assert!(png.palette.unwrap().len() == 43 * 3); } #[test]