mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-06 13:34:16 -04:00
Close file in TestQSaveFile::autoFlush() so we can remove it.
This commit is contained in:
parent
47d3c7e05a
commit
9eac5f35d8
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue