From b89b9ef13a88ceda5b8ebc1b5e3e7e4530a4e2ba Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Fri, 31 May 2013 11:01:07 +0300 Subject: tests: fix urihandlertest on windows --- tests/auto/urihandlertest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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("/bin/sh")); + QCOMPARE(u->property("location").get(), + QDir::toNativeSeparators(QLatin1String("/bin/sh"))); } void UriHandlerTest::makeTest() -- cgit v1.2.3