Skip to content

Commit 0b08aa7

Browse files
coderabbitai[bot]CodeRabbit
andauthored
fix: apply CodeRabbit auto-fixes
Fixed 1 file(s) based on 1 unresolved review comment. Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
1 parent 8eaf69f commit 0b08aa7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/auto/model/tst_storemodel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ void tst_storemodel::setStoreUpdatesPath() {
545545
void tst_storemodel::dataEditRoleKeepsGpgExtension() {
546546
QTemporaryDir tempDir;
547547
QFile f(tempDir.path() + "/secret.gpg");
548-
QVERIFY(f.open(QFile::WriteOnly));
548+
QVERIFY2(f.open(QFile::WriteOnly), "Failed to open test file for writing");
549549
f.close();
550550

551551
QFileSystemModel fsm;
@@ -570,7 +570,7 @@ void tst_storemodel::filterAcceptsNonGpgFileWhenRegexMatches() {
570570
// name doesn't end in .gpg and won't match the default empty regex
571571
// after extension stripping — unless the regex explicitly matches it.
572572
QFile f(tempDir.path() + "/readme.txt");
573-
QVERIFY(f.open(QFile::WriteOnly));
573+
QVERIFY2(f.open(QFile::WriteOnly), "Failed to open test file for writing");
574574
f.close();
575575

576576
QFileSystemModel fsm;

0 commit comments

Comments
 (0)