summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2022-03-20 19:41:58 -0400
committerAndras Timar <andras.timar@collabora.com>2022-03-21 21:46:49 +0100
commit1eae4b0d68796e259d031b104be43aec94b2fbb1 (patch)
treeee4fbfc56cf3c487eb6fea61b62f4f6bd9cccd81 /test
parentwsd: trace poll events and revents flags arround ppoll (diff)
downloadonline-1eae4b0d68796e259d031b104be43aec94b2fbb1.tar.gz
online-1eae4b0d68796e259d031b104be43aec94b2fbb1.zip
wsd: test: correctly show the failing code in the assertion message
Change-Id: I99b3688398fb3667ce4e0f5050aa5ca79e2fd0d1 Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
Diffstat (limited to 'test')
-rw-r--r--test/lokassert.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lokassert.hpp b/test/lokassert.hpp
index 4cea1ad539..0e3f5fc0a3 100644
--- a/test/lokassert.hpp
+++ b/test/lokassert.hpp
@@ -96,7 +96,7 @@ std::string inline lokFormatAssertEq(const std::string& expected, const char*,
<< (msg##__LINE__.empty() ? "" : msg##__LINE__ + ". ") \
<< "Condition: " << (#condition)); \
LOK_ASSERT_IMPL(cond##__LINE__); \
- CPPUNIT_ASSERT_MESSAGE((message), cond##__LINE__); \
+ CPPUNIT_ASSERT_MESSAGE((msg##__LINE__), cond##__LINE__); \
} \
else \
{ \