diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2017-02-28 12:04:08 +0100 |
---|---|---|
committer | Anne Jan Brouwer <brouwer@annejan.com> | 2017-02-28 12:04:08 +0100 |
commit | 07c8a092fdce48741be120e4af6d02d56a244d4c (patch) | |
tree | 5f628b1dbf8092397b3f2a5baf5036637f674ca2 /tests | |
parent | 5eb00bcf8cf8b62f64e1e20fc196ec2687e90da2 (diff) |
Unit test now with QDir::toNativeSeparators( path )
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/util/tst_util.cpp | 4 |
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) |