summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-02-10 00:26:53 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-02-10 00:26:53 (GMT)
commit81f67e5242c672e753895761dbda60b8631fb575 (patch)
treed3ae3f79f6a218f0c36688fa0ee9150b44a3a26c /tests
parent397595d93ca667f5ef9597974c405e339f538d4e (diff)
downloadQt-81f67e5242c672e753895761dbda60b8631fb575.zip
Qt-81f67e5242c672e753895761dbda60b8631fb575.tar.gz
Qt-81f67e5242c672e753895761dbda60b8631fb575.tar.bz2
Fix expected error message.
Diffstat (limited to 'tests')
-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() + "\" ) ";