[pango/test-layout-fix] Try to make the layout test less sensitive



commit f4be3e38a218c73b55466d73c70e104f556a03b5
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jun 10 10:29:00 2020 -0400

    Try to make the layout test less sensitive
    
    Try not to pick a width that makes line-breaking decisions
    depend on rounding. Lets see if this works better, it makes
    the test pass locally.

 tests/layouts/valid-4.expected | 2 +-
 tests/layouts/valid-4.markup   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/layouts/valid-4.expected b/tests/layouts/valid-4.expected
index 09f143f3..66796cb5 100644
--- a/tests/layouts/valid-4.expected
+++ b/tests/layouts/valid-4.expected
@@ -5,7 +5,7 @@ This paragraph should ac­tual­ly have multiple lines, unlike all the other wan
 wrapped: 1
 ellipsized: 0
 lines: 6
-width: 194560
+width: 192512
 
 --- attributes
 
diff --git a/tests/layouts/valid-4.markup b/tests/layouts/valid-4.markup
index 16111976..0b2bb51a 100644
--- a/tests/layouts/valid-4.markup
+++ b/tests/layouts/valid-4.markup
@@ -1,2 +1,2 @@
-width=190
+width=188
 This paragraph should ac­tual­ly have multiple lines, unlike all the other wannabe äöü pa­ra­graph tests in 
this ugh test-case. Grow some lines!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]