summaryrefslogtreecommitdiffstats
path: root/tests/auto/qzip
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qzip')
-rw-r--r--tests/auto/qzip/tst_qzip.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qzip/tst_qzip.cpp b/tests/auto/qzip/tst_qzip.cpp
index 99379b5..f586f5e 100644
--- a/tests/auto/qzip/tst_qzip.cpp
+++ b/tests/auto/qzip/tst_qzip.cpp
@@ -97,6 +97,9 @@ void tst_QZip::basicUnpack()
| QFile::ReadUser | QFile::WriteUser ));
QCOMPARE(zip.fileData("test/test.txt"), QByteArray("content\n"));
+
+ fi = files.at(-1);
+ QVERIFY(!fi.isValid());
}
void tst_QZip::symlinks()