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.
This commit is contained in:
Andre Heinecke 2019-11-06 09:12:09 +01:00
parent a56f6015e9
commit 024edbbd3c
No known key found for this signature in database
GPG Key ID: 2978E9D40CBABA5C

View File

@ -156,7 +156,7 @@ private Q_SLOTS:
target.update(); target.update();
const char *remark = target.userID(0).remark(seckey, err); const char *remark = target.userID(0).remark(seckey, err);
QVERIFY(!err); QVERIFY(!err);
Q_ASSERT(remark); QVERIFY(remark);
QCOMPARE(QString::fromUtf8(remark), QStringLiteral("The quick brown fox " QCOMPARE(QString::fromUtf8(remark), QStringLiteral("The quick brown fox "
"jumps over the lazy dog")); "jumps over the lazy dog"));