summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlpixmapcache/tst_qmlpixmapcache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qmlpixmapcache/tst_qmlpixmapcache.cpp')
-rw-r--r--tests/auto/declarative/qmlpixmapcache/tst_qmlpixmapcache.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/declarative/qmlpixmapcache/tst_qmlpixmapcache.cpp b/tests/auto/declarative/qmlpixmapcache/tst_qmlpixmapcache.cpp
index 7fd6780..50de8d5 100644
--- a/tests/auto/declarative/qmlpixmapcache/tst_qmlpixmapcache.cpp
+++ b/tests/auto/declarative/qmlpixmapcache/tst_qmlpixmapcache.cpp
@@ -122,9 +122,7 @@ void tst_qmlpixmapcache::single()
QFETCH(bool, neterror);
if (neterror) {
- QString expected = "Network error loading \""
- +target.toString()+"\" \"Error downloading "
- +target.toString()+" - server replied: Not Found\" ";
+ QString expected = "\"Error downloading " + target.toString() + " - server replied: Not Found\" ";
QTest::ignoreMessage(QtWarningMsg, expected.toLatin1());
} else if (!exists) {
QString expected = "Cannot open QUrl( \"" + target.toString() + "\" ) ";