summaryrefslogtreecommitdiff
path: root/tests/auto/qicon_svg/tst_qicon_svg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qicon_svg/tst_qicon_svg.cpp')
-rw-r--r--tests/auto/qicon_svg/tst_qicon_svg.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qicon_svg/tst_qicon_svg.cpp b/tests/auto/qicon_svg/tst_qicon_svg.cpp
index f5b97e0..893cf99 100644
--- a/tests/auto/qicon_svg/tst_qicon_svg.cpp
+++ b/tests/auto/qicon_svg/tst_qicon_svg.cpp
@@ -60,6 +60,7 @@ void tst_QIcon_Svg::initTestCase()
QFAIL("Can't find images directory!");
if (!QImageReader::supportedImageFormats().contains("svg"))
QFAIL("SVG support is not available");
+ QCOMPARE(QImageReader::imageFormat(prefix + "triangle.svg"), QByteArray("svg"));
}
void tst_QIcon_Svg::svgActualSize()