File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -545,7 +545,7 @@ void tst_storemodel::setStoreUpdatesPath() {
545545void 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;
You can’t perform that action at this time.
0 commit comments