[Libreoffice-commits] online.git: loolwsd/test

Miklos Vajna vmiklos at collabora.co.uk
Mon Jan 11 02:25:24 PST 2016


 loolwsd/test/httpwstest.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b8ef0c881365a7677a7470a4b94dc200d7ec0dc4
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Jan 11 11:24:20 2016 +0100

    loolwsd: fix make check
    
    After my commit 49b67cdc36b599f865d4a6de214d901861f27196 (tdf#96961 sw
    Hide Whitespace: still show whitespace on the last page, 2016-01-08) in
    core.git.

diff --git a/loolwsd/test/httpwstest.cpp b/loolwsd/test/httpwstest.cpp
index 850d606..302993e 100644
--- a/loolwsd/test/httpwstest.cpp
+++ b/loolwsd/test/httpwstest.cpp
@@ -122,8 +122,8 @@ void HTTPWSTest::testRenderingOptions()
     std::string prefix = "height=";
     CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(0), token.find(prefix));
     int height = std::stoi(token.substr(prefix.size()));
-    // HideWhitespace was ignored, this was 32532.
-    CPPUNIT_ASSERT(height < 10000);
+    // HideWhitespace was ignored, this was 32532, should be around 16706.
+    CPPUNIT_ASSERT(height < 20000);
 }
 
 void HTTPWSTest::sendTextFrame(Poco::Net::WebSocket& socket, const std::string& string)


More information about the Libreoffice-commits mailing list