[pango/line-underline: 13/15] tests: Handle new attribute values



commit 781b6934214773e49213e30472aa47868cdb1cc4
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Aug 22 11:51:44 2019 +0200

    tests: Handle new attribute values
    
    Test that new underline values work.

 tests/testattributes.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/tests/testattributes.c b/tests/testattributes.c
index 4bee59dc..9964f3d0 100644
--- a/tests/testattributes.c
+++ b/tests/testattributes.c
@@ -53,6 +53,7 @@ test_attributes_basic (void)
   test_copy (pango_attr_font_desc_new (desc));
   pango_font_description_free (desc);
   test_copy (pango_attr_underline_new (PANGO_UNDERLINE_LOW));
+  test_copy (pango_attr_underline_new (PANGO_UNDERLINE_ERROR_LINE));
   test_copy (pango_attr_underline_color_new (100, 200, 300));
   test_copy (pango_attr_overline_new (PANGO_OVERLINE_SINGLE));
   test_copy (pango_attr_overline_color_new (100, 200, 300));


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