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:
@@ -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
|
||||
)
|
||||
);
|
||||
|
Reference in New Issue
Block a user