[pango/pango2: 5/115] Revert "don't pollute"




commit 962ce2b7c85759ba0c18abe2e007d430bc526f76
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jun 9 06:30:40 2022 -0400

    Revert "don't pollute"
    
    This reverts commit 1783b16b6eade5efca7dcee3fa078b50c9b16e52.

 tests/testmisc.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/tests/testmisc.c b/tests/testmisc.c
index 3abc59c4..b3d7eb49 100644
--- a/tests/testmisc.c
+++ b/tests/testmisc.c
@@ -119,12 +119,16 @@ test_line_height2 (void)
   g_assert_nonnull (line);
   pango_line_get_extents (line, NULL, &ext1);
 
+  pango_simple_layout_write_to_file (layout, "one.layout");
+
   pango_simple_layout_set_text (layout, "", -1);
 
   line = pango_lines_get_line (pango_simple_layout_get_lines (layout), 0, NULL, NULL);
   g_assert_nonnull (line);
   pango_line_get_extents (line, NULL, &ext2);
 
+  pango_simple_layout_write_to_file (layout, "empty.layout");
+
   g_assert_cmpint (ext1.height, ==, ext2.height);
 
   g_object_unref (layout);


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