diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-02-10 00:26:53 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-02-10 00:26:53 (GMT) |
commit | 81f67e5242c672e753895761dbda60b8631fb575 (patch) | |
tree | d3ae3f79f6a218f0c36688fa0ee9150b44a3a26c /tests/auto/declarative/qmlpixmapcache | |
parent | 397595d93ca667f5ef9597974c405e339f538d4e (diff) | |
download | Qt-81f67e5242c672e753895761dbda60b8631fb575.zip Qt-81f67e5242c672e753895761dbda60b8631fb575.tar.gz Qt-81f67e5242c672e753895761dbda60b8631fb575.tar.bz2 |
Fix expected error message.
Diffstat (limited to 'tests/auto/declarative/qmlpixmapcache')
-rw-r--r-- | tests/auto/declarative/qmlpixmapcache/tst_qmlpixmapcache.cpp | 4 |
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() + "\" ) "; |