[pango/pango-1-48] Fix tests
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango-1-48] Fix tests
- Date: Mon, 10 Jan 2022 06:05:38 +0000 (UTC)
commit 066061c1ad31e31726c720f3e4a24e66a1ca4385
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jan 10 01:05:22 2022 -0500
Fix tests
tests/testattributes.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tests/testattributes.c b/tests/testattributes.c
index 7f0d8bf3..e7c44391 100644
--- a/tests/testattributes.c
+++ b/tests/testattributes.c
@@ -1207,13 +1207,13 @@ test_gnumeric_splice (void)
{
PangoAttrList *list, *list2;
- list = pango_attr_list_from_string ("0 -1 font-desc \"Sans 10\"\n");
- list2 = pango_attr_list_from_string ("1 2 weight bold\n");
+ list = attributes_from_string ("[0,-1]style=italic\n");
+ list2 = attributes_from_string ("[1,2]weight=bold\n");
pango_attr_list_splice (list, list2, 0, 0);
- assert_attr_list (list, "0 4294967295 font-desc \"Sans 10\"\n"
- "1 2 weight bold\n");
+ assert_attr_list (list, "[0,-1]style=italic\n"
+ "[1,2]weight=bold\n");
pango_attr_list_unref (list);
pango_attr_list_unref (list2);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]