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.
This commit is contained in:
Vadim Zeitlin
2019-07-18 17:40:52 +02:00
parent 08c7a0ca82
commit ef0f4243fb

View File

@@ -177,7 +177,7 @@ TEST_CASE("wxHtmlPrintout::Pagination", "[html][print]")
"<img width=\"100\" height=\"500\" src=\"dummy\"/>"
"<div>%s</div>"
"<br/>"
"<img width=\"100\" height=\"400\" src=\"dummy\"/>",
"<img width=\"100\" height=\"500\" src=\"dummy\"/>",
text
)
);
@@ -190,7 +190,7 @@ TEST_CASE("wxHtmlPrintout::Pagination", "[html][print]")
"<img width=\"100\" height=\"500\" src=\"dummy\"/>"
"<div style=\"page-break-inside:avoid\">%s</div>"
"<br/>"
"<img width=\"100\" height=\"400\" src=\"dummy\"/>",
"<img width=\"100\" height=\"500\" src=\"dummy\"/>",
text
)
);