winrt: Fix tst_qurl
Change-Id: Ia7e33e3892f888ead1357f5cd522480f514421e3 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
This commit is contained in:
parent
0086bf62a2
commit
9ed46c2853
@ -3078,11 +3078,7 @@ void tst_QUrl::fromUserInputWithCwd_data()
|
||||
|
||||
// "."
|
||||
{
|
||||
const QUrl url = QUrl::fromLocalFile(base
|
||||
#ifdef Q_OS_WINRT
|
||||
+ QLatin1Char('/')
|
||||
#endif
|
||||
); // fromUserInput cleans the path
|
||||
const QUrl url = QUrl::fromLocalFile(base); // fromUserInput cleans the path
|
||||
QTest::newRow("dot-in-path") << "." << base << url << url;
|
||||
QTest::newRow("dot-in-dot") << "." << QStringLiteral(".") << url << url;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user