mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-26 15:59:50 -05:00
Close file in TestQSaveFile::autoFlush() so we can remove it.
This commit is contained in:
parent
47d3c7e05a
commit
9eac5f35d8
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user