diff --git a/tests/html/htmprint.cpp b/tests/html/htmprint.cpp
index 0466182845..905a70d34e 100644
--- a/tests/html/htmprint.cpp
+++ b/tests/html/htmprint.cpp
@@ -77,6 +77,15 @@ TEST_CASE("wxHtmlPrintout::Pagination", "[html][print]")
""
);
CHECK( CountPages(pr) == 3 );
+
+ // Test explicit page breaks too.
+ pr.SetHtmlText
+ (
+ "First page"
+ "