Test for both apng and APNG in supported image formats

This commit is contained in:
Skye Deving 2021-01-05 23:09:46 -06:00
parent f1d12d17a0
commit 341c658cde

View File

@ -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")));
}