summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-11-18 14:00:48 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-18 08:58:09 +0100
commit397fd4735af2deb428db108220e9486203af7e3b (patch)
treeb443148853d61abf326fd00c533c14e75912397e /tests
parentf415384cb294ecb5de86d420d2a7a3d495289453 (diff)
Fix typo in QUrl autotest.
Change-Id: Id85ad5c16e3a5b7a1614affa041d19f5062073fd Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/corelib/io/qurl/tst_qurl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/corelib/io/qurl/tst_qurl.cpp b/tests/auto/corelib/io/qurl/tst_qurl.cpp
index f51b4fcdd7..b435d440b7 100644
--- a/tests/auto/corelib/io/qurl/tst_qurl.cpp
+++ b/tests/auto/corelib/io/qurl/tst_qurl.cpp
@@ -697,7 +697,7 @@ void tst_QUrl::resolving_data()
{
QTest::addColumn<QString>("baseUrl");
QTest::addColumn<QString>("relativeUrl");
- QTest::addColumn<QString>("relsolvedUrl");
+ QTest::addColumn<QString>("resolvedUrl");
// 5.4.1 Normal Examples (http://www.ietf.org/rfc/rfc3986.txt)
QTest::newRow("g:h") << QString::fromLatin1("http://a/b/c/d;p?q") << QString::fromLatin1("g:h") << QString::fromLatin1("g:h");
@@ -790,10 +790,10 @@ void tst_QUrl::resolving()
{
QFETCH(QString, baseUrl);
QFETCH(QString, relativeUrl);
- QFETCH(QString, relsolvedUrl);
+ QFETCH(QString, resolvedUrl);
QUrl url(baseUrl);
- QCOMPARE(url.resolved(relativeUrl).toString(), relsolvedUrl);
+ QCOMPARE(url.resolved(relativeUrl).toString(), resolvedUrl);
}
void tst_QUrl::toString_data()