[pango] Undo a recent change



commit c00a174c0e9dc183b644b9083138bea2a2acd7c8
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Aug 10 12:56:25 2020 -0400

    Undo a recent change
    
    Revert 97778b40daedac08f6, since it sadly broke
    running our testsuite which does pass arguments like
    -k and --tap.

 tests/test-break.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/test-break.c b/tests/test-break.c
index e020b583c..db944fbb0 100644
--- a/tests/test-break.c
+++ b/tests/test-break.c
@@ -309,6 +309,8 @@ main (int argc, char *argv[])
   const gchar *name;
   gchar *path;
 
+  g_test_init (&argc, &argv, NULL);
+
   setlocale (LC_ALL, "");
 
   context = pango_font_map_create_context (pango_cairo_font_map_get_default ());
@@ -340,8 +342,6 @@ main (int argc, char *argv[])
       return 0;
     }
 
-  g_test_init (&argc, &argv, NULL);
-
   path = g_test_build_filename (G_TEST_DIST, "breaks", NULL);
   dir = g_dir_open (path, 0, &error);
   g_free (path);


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