summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Heinecke <aheinecke@gnupg.org>2019-11-06 09:12:09 +0100
committerAndre Heinecke <aheinecke@gnupg.org>2019-11-06 09:12:09 +0100
commit024edbbd3c0059654e13c1c6acf78456450469ab (patch)
treea9f29126f5f492e2ba538ab816eb10de7dda4756
parenta56f6015e9518180237a70b8abc5ab9804212986 (diff)
downloadgpgme-024edbbd3c0059654e13c1c6acf78456450469ab.tar.gz
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.cpp2
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"));