From ef0f4243fbbc4da116d0fb30c86d2f0466ffc54b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 18 Jul 2019 17:40:52 +0200 Subject: [PATCH] Tweak wxHtmlPrintout::Pagination unit test to pass under Travis For some reason, the height of a text line is 15px there and not 18px as locally, so 400px high image still fit on the second page in the last test. Make it higher to ensure that it doesn't. --- tests/html/htmprint.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/html/htmprint.cpp b/tests/html/htmprint.cpp index 313e48bffd..d09e7ddb64 100644 --- a/tests/html/htmprint.cpp +++ b/tests/html/htmprint.cpp @@ -177,7 +177,7 @@ TEST_CASE("wxHtmlPrintout::Pagination", "[html][print]") "" "
%s
" "
" - "", + "", text ) ); @@ -190,7 +190,7 @@ TEST_CASE("wxHtmlPrintout::Pagination", "[html][print]") "" "
%s
" "
" - "", + "", text ) );