mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Close file in TestQSaveFile::autoFlush() so we can remove it.
This commit is contained in:
@@ -102,6 +102,7 @@ void TestQSaveFile::autoFlush()
|
||||
QFile reader(targetFile);
|
||||
QVERIFY(reader.open(QIODevice::ReadOnly));
|
||||
QCOMPARE(QString::fromLatin1(reader.readAll().constData()), QString::fromLatin1("Auto-flush."));
|
||||
reader.close();
|
||||
|
||||
QVERIFY(QFile::remove(targetFile));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user