summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdir
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2010-11-17 17:21:45 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2010-11-17 17:21:45 (GMT)
commita5de017fe85ce8058c32df1f61df0c9c59ccf01c (patch)
treef28f7ff7c6bf3defc35b9048b3b93b37524627c4 /tests/auto/qdir
parent43adb2ed628f79d3c59f4bf0b4cec03efc9c3ab6 (diff)
downloadQt-a5de017fe85ce8058c32df1f61df0c9c59ccf01c.zip
Qt-a5de017fe85ce8058c32df1f61df0c9c59ccf01c.tar.gz
Qt-a5de017fe85ce8058c32df1f61df0c9c59ccf01c.tar.bz2
Fix test compile error on linux
Reviewed-By: Trust Me
Diffstat (limited to 'tests/auto/qdir')
-rw-r--r--tests/auto/qdir/tst_qdir.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/qdir/tst_qdir.cpp b/tests/auto/qdir/tst_qdir.cpp
index 7f98a9a..e8c8e07 100644
--- a/tests/auto/qdir/tst_qdir.cpp
+++ b/tests/auto/qdir/tst_qdir.cpp
@@ -181,10 +181,8 @@ private slots:
void testCaching();
-#if defined(Q_OS_WIN) || defined(Q_OS_SYMBIAN)
void isRoot_data();
void isRoot();
-#endif
#ifndef QT_NO_REGEXP
void match_data();
@@ -1833,7 +1831,7 @@ void tst_QDir::drives()
#endif
#else
QCOMPARE(list.count(), 1); //root
- QCOMPARE(list.at(0).absolutePath(), "/");
+ QCOMPARE(list.at(0).absolutePath(), QLatin1String("/"));
#endif
}