From 7155e82255f68ae9f117144f3c7dd9a91332b0d3 Mon Sep 17 00:00:00 2001 From: iwbnwif Date: Tue, 5 Nov 2019 20:18:11 +0000 Subject: [PATCH] Show the used font in case of failure in Ellipsization unit test --- tests/graphics/ellipsization.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/graphics/ellipsization.cpp b/tests/graphics/ellipsization.cpp index 52cf2f3add..73ad1a1b10 100644 --- a/tests/graphics/ellipsization.cpp +++ b/tests/graphics/ellipsization.cpp @@ -101,8 +101,9 @@ TEST_CASE_METHOD(EllipsizationTestCase, "Ellipsization::NormalCase", "[ellipsiza WX_ASSERT_MESSAGE ( ( - "Test #(%u,%u.%u): \"%s\" -> \"%s\"; width=%dpx > %dpx", + "Test #(%u,%u.%u): %s\n\"%s\" -> \"%s\"; width=%dpx > %dpx", s, f, m, + dc.GetFont().GetNativeFontInfoUserDesc(), str, ret, width,