Show the used font in case of failure in Ellipsization unit test

This commit is contained in:
iwbnwif
2019-11-05 20:18:11 +00:00
committed by Vadim Zeitlin
parent 9b43bd8af2
commit 7155e82255

View File

@@ -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,