From c60bd82da7d9bb4f1c4ae07b713841f703fefe8b Mon Sep 17 00:00:00 2001 From: Josh Holmer Date: Thu, 20 Jun 2019 14:07:47 -0400 Subject: [PATCH] Add test case for #171 --- tests/files/issue-171.png | Bin 0 -> 220 bytes tests/regression.rs | 12 ++++++++++++ 2 files changed, 12 insertions(+) create mode 100644 tests/files/issue-171.png diff --git a/tests/files/issue-171.png b/tests/files/issue-171.png new file mode 100644 index 0000000000000000000000000000000000000000..bf83f52be504d4ff57a56396f1b1d42496a2f45a GIT binary patch literal 220 zcmeAS@N?(olHy`uVBq!ia0vp^EFjDQBp7;T9b5$Bq&xaLGB9lH=l+w(3gj~-dAqwX z{BQ3+vmeM~FY)wsWq-^jB50yBLvz7)ppby4i(?4K^<o#Nn literal 0 HcmV?d00001 diff --git a/tests/regression.rs b/tests/regression.rs index ef7ee0bf..1b20edee 100644 --- a/tests/regression.rs +++ b/tests/regression.rs @@ -611,3 +611,15 @@ fn issue_167() { BitDepth::Eight, ); } + +#[test] +fn issue_171() { + test_it_converts( + "tests/files/issue-171.png", + None, + ColorType::Grayscale, + BitDepth::Eight, + ColorType::Grayscale, + BitDepth::Eight, + ); +}