diff options
| author | Skye Deving <76892045+skyedeving@users.noreply.github.com> | 2021-01-05 23:09:46 -0600 |
|---|---|---|
| committer | Skye Deving <76892045+skyedeving@users.noreply.github.com> | 2021-01-28 11:05:42 -0600 |
| commit | 341c658cde9808eedb789981b51fa89edb71e4cd (patch) | |
| tree | d05b4884c28f4a005b4b30489528522efd4053cd | |
| parent | f1d12d17a06ad00f8e092bc47b4ef675ff4303ad (diff) | |
Test for both apng and APNG in supported image formats
| -rw-r--r-- | test/test_apng.cpp | 3 |
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"))); } |
