summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/util/tst_util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/util/tst_util.cpp b/tests/auto/util/tst_util.cpp
index 22792ef7..dbc65750 100644
--- a/tests/auto/util/tst_util.cpp
+++ b/tests/auto/util/tst_util.cpp
@@ -57,8 +57,8 @@ void tst_util::cleanupTestCase() {}
* of Util::normalizeFolderPath the paths should always end with a slash
*/
void tst_util::normalizeFolderPath() {
- QCOMPARE(Util::normalizeFolderPath("test"), QString("test/"));
- QCOMPARE(Util::normalizeFolderPath("test/"), QString("test/"));
+ QCOMPARE(Util::normalizeFolderPath("test"), QDir::toNativeSeparators("test/"));
+ QCOMPARE(Util::normalizeFolderPath("test/"), QDir::toNativeSeparators("test/"));
}
QTEST_MAIN(tst_util)