summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test-break.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-break.c b/tests/test-break.c
index 6f4019e1..fca5677b 100644
--- a/tests/test-break.c
+++ b/tests/test-break.c
@@ -309,8 +309,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 ());
@@ -322,11 +320,13 @@ main (int argc, char *argv[])
string = g_string_sized_new (0);
test_file (argv[1], string);
- g_test_message ("%s", string->str);
+ g_print ("%s", string->str);
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);