From 341c658cde9808eedb789981b51fa89edb71e4cd Mon Sep 17 00:00:00 2001 From: Skye Deving <76892045+skyedeving@users.noreply.github.com> Date: Tue, 5 Jan 2021 23:09:46 -0600 Subject: [PATCH] Test for both apng and APNG in supported image formats --- test/test_apng.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_apng.cpp b/test/test_apng.cpp index c1c0481..9c15e3c 100644 --- a/test/test_apng.cpp +++ b/test/test_apng.cpp @@ -11,5 +11,6 @@ TEST_CASE("Support APNG Plugin (place lib same path)", "[apng]") { // Fails for some reason on windows and linux don't know about osx // apng animation seems to be broken linux qt5-5.15.2 - REQUIRE(QImageReader::supportedImageFormats().contains("APNG")); + REQUIRE((QImageReader::supportedImageFormats().contains("apng") || + QImageReader::supportedImageFormats().contains("APNG"))); }