summaryrefslogtreecommitdiff
path: root/tests/testglib.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testglib.c')
-rw-r--r--tests/testglib.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/testglib.c b/tests/testglib.c
index ca9153a13..f29bbc664 100644
--- a/tests/testglib.c
+++ b/tests/testglib.c
@@ -955,18 +955,18 @@ test_paths (void)
if (g_test_verbose ())
g_printerr ("checking g_canonicalize_filename() supports NULL...");
- {
- const gchar *relative_path = "./";
- gchar *canonical_path = g_canonicalize_filename (relative_path, NULL);
- gchar *cwd = g_get_current_dir ();
- if (g_strcmp0 (canonical_path, cwd) != 0)
- {
- g_error ("\nfailed for \"%s\"==\"%s\" (returned: \"%s\")\n",
- relative_path, cwd, canonical_path);
- }
- g_free (cwd);
- g_free (canonical_path);
- }
+ {
+ const gchar *relative_path = "./";
+ gchar *canonical_path = g_canonicalize_filename (relative_path, NULL);
+ gchar *cwd = g_get_current_dir ();
+ if (g_strcmp0 (canonical_path, cwd) != 0)
+ {
+ g_error ("\nfailed for \"%s\"==\"%s\" (returned: \"%s\")\n",
+ relative_path, cwd, canonical_path);
+ }
+ g_free (cwd);
+ g_free (canonical_path);
+ }
if (g_test_verbose ())
g_printerr ("ok\n");