[pango/matthiasc/for-master: 11/11] test-break: Make help output work again
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/matthiasc/for-master: 11/11] test-break: Make help output work again
- Date: Mon, 10 May 2021 03:32:07 +0000 (UTC)
commit 0fb79012d1003f75343bb8baf8f88897f0ac4591
Author: Matthias Clasen <mclasen redhat com>
Date: Sun May 9 21:26:37 2021 -0400
test-break: Make help output work again
test-break has a helpful text that explains
the maining of the output. Make sure that
we show it for --help.
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 413fd088..f802d2b1 100644
--- a/tests/test-break.c
+++ b/tests/test-break.c
@@ -313,8 +313,6 @@ 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 ());
@@ -346,6 +344,8 @@ 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]