summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdir
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qdir')
-rw-r--r--tests/auto/qdir/tst_qdir.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/qdir/tst_qdir.cpp b/tests/auto/qdir/tst_qdir.cpp
index b2dc960..4704bb8 100644
--- a/tests/auto/qdir/tst_qdir.cpp
+++ b/tests/auto/qdir/tst_qdir.cpp
@@ -1568,13 +1568,13 @@ void tst_QDir::isRoot_data()
QTest::addColumn<bool>("isRoot");
QString test = QDir::rootPath();
- QTest::newRow("rootPath " + test) << test << true;
+ QTest::newRow(QString("rootPath " + test).toLatin1()) << test << true;
test = QDir::rootPath().append("./");
- QTest::newRow("./ appended " + test) << test << false;
+ QTest::newRow(QString("./ appended " + test).toLatin1()) << test << false;
test = QDir(QDir::rootPath().append("./")).canonicalPath();
- QTest::newRow("canonicalPath " + test) << test << true;
+ QTest::newRow(QString("canonicalPath " + test).toLatin1()) << test << true;
test = QDir::rootPath().left(2);
- QTest::newRow("drive relative " + test) << test << false;
+ QTest::newRow(QString("drive relative " + test).toLatin1()) << test << false;
}
void tst_QDir::isRoot()