summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/qurl/tst_qurl.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/qurl/tst_qurl.cpp b/tests/auto/qurl/tst_qurl.cpp
index 60d7391..47c86cc 100644
--- a/tests/auto/qurl/tst_qurl.cpp
+++ b/tests/auto/qurl/tst_qurl.cpp
@@ -2412,9 +2412,7 @@ void tst_QUrl::hasQueryItem()
void tst_QUrl::nameprep()
{
QUrl url(QString::fromUtf8("http://www.fu""\xc3""\x9f""ball.de/"));
- QUrl url2 = QUrl::fromEncoded("http://www.xn--fuball-cta.de/");
- QCOMPARE(url2.toString(), QString::fromLatin1("http://www.fussball.de/"));
- QCOMPARE(url.toString(), url2.toString()); // should be identical
+ QCOMPARE(url.toString(), QString::fromLatin1("http://www.fussball.de/"));
}
void tst_QUrl::isValid()