diff options
author | João Abecasis <joao.abecasis@nokia.com> | 2010-11-30 19:37:07 (GMT) |
---|---|---|
committer | João Abecasis <joao.abecasis@nokia.com> | 2010-11-30 19:39:08 (GMT) |
commit | be03dc12478085b3d8ec92a87fe12234169dce3d (patch) | |
tree | 134af3a89e2125ca644a16297f5c5ef7974325a7 | |
parent | 7380e973a5e8dd8633e955792f219f6231b9513e (diff) | |
download | Qt-be03dc12478085b3d8ec92a87fe12234169dce3d.zip Qt-be03dc12478085b3d8ec92a87fe12234169dce3d.tar.gz Qt-be03dc12478085b3d8ec92a87fe12234169dce3d.tar.bz2 |
Fix typo in QFile test
If file system isn't case sensitive, open succeeds as should reading,
with the read data matching testData.
-rw-r--r-- | tests/auto/qfile/tst_qfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qfile/tst_qfile.cpp b/tests/auto/qfile/tst_qfile.cpp index 4421f0d..d561f53 100644 --- a/tests/auto/qfile/tst_qfile.cpp +++ b/tests/auto/qfile/tst_qfile.cpp @@ -3222,7 +3222,7 @@ void tst_QFile::caseSensitivity() QCOMPARE(fi.size() == fi2.size(), !caseSensitive); QFile f2(alt); QCOMPARE(f2.open(QIODevice::ReadOnly), !caseSensitive); - if (caseSensitive) + if (!caseSensitive) QCOMPARE(f2.readAll(), testData); } } |