summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2013-05-31 11:01:07 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2013-06-07 14:46:24 +0300
commitb89b9ef13a88ceda5b8ebc1b5e3e7e4530a4e2ba (patch)
treef63c4f0f0767620b434dbbf7c682ee59a6667fe3
parenta07b97b3abe235ad8a98fb6577b9721cb36d8721 (diff)
tests: fix urihandlertest on windows
-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()