Fix typo in QUrl autotest.

Change-Id: Id85ad5c16e3a5b7a1614affa041d19f5062073fd
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
bb10
Jason McDonald 2011-11-18 14:00:48 +10:00 committed by Qt by Nokia
parent f415384cb2
commit 397fd4735a
1 changed files with 3 additions and 3 deletions

View File

@ -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()