aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSkye Deving <76892045+skyedeving@users.noreply.github.com>2021-01-05 23:09:46 -0600
committerSkye Deving <76892045+skyedeving@users.noreply.github.com>2021-01-28 11:05:42 -0600
commit341c658cde9808eedb789981b51fa89edb71e4cd (patch)
treed05b4884c28f4a005b4b30489528522efd4053cd /test
parentf1d12d17a06ad00f8e092bc47b4ef675ff4303ad (diff)
Test for both apng and APNG in supported image formats
Diffstat (limited to 'test')
-rw-r--r--test/test_apng.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_apng.cpp b/test/test_apng.cpp
index c1c04814..9c15e3cf 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")));
}