[pango/pango2: 73/115] More test updates




commit 9f4a491783604bfbc46e93a93e639f222b49ba8f
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Feb 20 13:54:42 2022 -0500

    More test updates

 tests/testattributes.c | 6 +++---
 tests/testserialize.c  | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tests/testattributes.c b/tests/testattributes.c
index 41b0d961..ba7a6092 100644
--- a/tests/testattributes.c
+++ b/tests/testattributes.c
@@ -731,7 +731,7 @@ test_list_splice (void)
   list = pango_attr_list_copy (base);
 
   other = pango_attr_list_from_string ("0 3 size 20\n"
-                                       "2 4 stretch 2\n");
+                                       "2 4 stretch condensed\n");
 
   pango_attr_list_splice (list, other, 11, 5);
 
@@ -822,7 +822,7 @@ test_list_filter (void)
   PangoAttrList *out;
 
   list = pango_attr_list_from_string ("0 -1 size 10\n"
-                                      "10 20 stretch 2\n"
+                                      "10 20 stretch condensed\n"
                                       "20 -1 weight 700\n");
 
   out = pango_attr_list_filter (list, never_true, NULL);
@@ -1025,7 +1025,7 @@ test_iter_get_attrs (void)
   pango_attr_iterator_next (iter);
   assert_attr_iterator (iter, "0 -1 size 10240\n"
                               "0 -1 family \"Times\"\n"
-                              "10 30 stretch 2\n"
+                              "10 30 stretch condensed\n"
                               "10 20 language ja-jp\n");
 
   pango_attr_iterator_next (iter);
diff --git a/tests/testserialize.c b/tests/testserialize.c
index 8f62cfc8..58d20f78 100644
--- a/tests/testserialize.c
+++ b/tests/testserialize.c
@@ -36,7 +36,7 @@ test_serialize_attr_list (void)
     "0 100 font-desc \"Cantarell, Sans, Italic Ultra-Light 64\", 10 11 weight 100",
     "0 -1 size 10",
     "0 1 weight 700, 2 4 weight book",
-    "0 200 rise 100\n5 15 family \"Times\"\n10 11 size 10240\n11 100 fallback 0\n30 60 stretch 2\n",
+    "0 200 rise 100\n5 15 family \"Times\"\n10 11 size 10240\n11 100 fallback false\n30 60 stretch 
condensed\n",
     ""
   };
   const char *roundtripped[] = {


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