test/lokassert.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit c2c854b22cb483bad92a1a8071e3ecf9bc9d7a4e Author: Ashod Nakashian <[email protected]> AuthorDate: Thu Apr 16 11:54:26 2020 -0400 Commit: Ashod Nakashian <[email protected]> CommitDate: Thu Apr 16 20:37:11 2020 +0200 wsd: test: print assertion message as well Change-Id: I26854ed8ad16be53ea91bd728f2090180ff5775d Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92382 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Ashod Nakashian <[email protected]> diff --git a/test/lokassert.hpp b/test/lokassert.hpp index 796a8c355..eb192608e 100644 --- a/test/lokassert.hpp +++ b/test/lokassert.hpp @@ -71,7 +71,8 @@ inline std::ostream& operator<<(std::ostream& os, const std::vector<char>& v) { \ if (!(condition)) \ { \ - std::cerr << "Assertion failure: " << (#condition) << std::endl; \ + std::cerr << "Assertion failure: " << (message) << ". Condition: " << (#condition) \ + << std::endl; \ LOK_ASSERT_IMPL(condition); \ CPPUNIT_ASSERT_MESSAGE((message), (condition)); \ } \ _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
