Skip to content

Commit

Permalink
Unit test now with QDir::toNativeSeparators( path )
Browse files Browse the repository at this point in the history
  • Loading branch information
annejan committed Feb 28, 2017
1 parent 5eb00bc commit 07c8a09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/auto/util/tst_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 07c8a09

Please sign in to comment.