[pango/hyphen-control: 2/2] tests: Cover new attribute types



commit a9c9c5155892f3fe8679bc0f86f333b87c75c69f
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Aug 4 10:31:39 2019 -0400

    tests: Cover new attribute types

 tests/testattributes.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/tests/testattributes.c b/tests/testattributes.c
index 3481d01b..dde1cbce 100644
--- a/tests/testattributes.c
+++ b/tests/testattributes.c
@@ -63,6 +63,9 @@ test_attributes_basic (void)
   test_copy (pango_attr_shape_new (&rect, &rect));
   test_copy (pango_attr_gravity_new (PANGO_GRAVITY_SOUTH));
   test_copy (pango_attr_gravity_hint_new (PANGO_GRAVITY_HINT_STRONG));
+  test_copy (pango_attr_allow_breaks_new (FALSE));
+  test_copy (pango_attr_show_new (PANGO_SHOW_SPACES));
+  test_copy (pango_attr_insert_hyphens_new (FALSE));
 }
 
 static void


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