diff options
author | Andre Heinecke <[email protected]> | 2019-11-06 08:12:09 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2019-11-06 08:12:09 +0000 |
commit | 024edbbd3c0059654e13c1c6acf78456450469ab (patch) | |
tree | a9f29126f5f492e2ba538ab816eb10de7dda4756 | |
parent | qt,tests: Add test to add an exportable certify (diff) | |
download | gpgme-024edbbd3c0059654e13c1c6acf78456450469ab.tar.gz gpgme-024edbbd3c0059654e13c1c6acf78456450469ab.zip |
qt, tests: Replace accidentally commited assert
* lang/qt/test/t-remarks.cpp (testRemarkReplaceSingleUIDExportable):
Use QVERIFY instead of assert.
--
An assert causes the temp directory not to be cleaned up. I
use this to analyze test failures.
If you want to see the tests home directory after a failure you
can just change a failing verify to an assert.
-rw-r--r-- | lang/qt/tests/t-remarks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/qt/tests/t-remarks.cpp b/lang/qt/tests/t-remarks.cpp index 3a101903..f6227d15 100644 --- a/lang/qt/tests/t-remarks.cpp +++ b/lang/qt/tests/t-remarks.cpp @@ -156,7 +156,7 @@ private Q_SLOTS: target.update(); const char *remark = target.userID(0).remark(seckey, err); QVERIFY(!err); - Q_ASSERT(remark); + QVERIFY(remark); QCOMPARE(QString::fromUtf8(remark), QStringLiteral("The quick brown fox " "jumps over the lazy dog")); |