summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/auto/urihandlertest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/urihandlertest.cpp b/tests/auto/urihandlertest.cpp
index eedd109..a449cf8 100644
--- a/tests/auto/urihandlertest.cpp
+++ b/tests/auto/urihandlertest.cpp
@@ -38,7 +38,8 @@ void UriHandlerTest::interfaceTest()
QVERIFY(u->setUri(QUrl::fromLocalFile("/bin/sh")));
QCOMPARE(u->uri(), QUrl::fromLocalFile("/bin/sh"));
- QCOMPARE(u->property("location").get<QString>(), QString("/bin/sh"));
+ QCOMPARE(u->property("location").get<QString>(),
+ QDir::toNativeSeparators(QLatin1String("/bin/sh")));
}
void UriHandlerTest::makeTest()