summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-06-10 10:29:00 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-06-10 10:29:00 -0400
commitf4be3e38a218c73b55466d73c70e104f556a03b5 (patch)
tree0a8f6236f511d69df515974f0f1f9249dfeb3b97
parentb6dc6e05d694bb5a0bd396b5847291ead3a431ea (diff)
downloadpango-f4be3e38a218c73b55466d73c70e104f556a03b5.tar.gz
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.
-rw-r--r--tests/layouts/valid-4.expected2
-rw-r--r--tests/layouts/valid-4.markup2
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!