From 2c8bd1015d4bf3b174fdcc9b3a0c199797d0b89b Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Sat, 20 Nov 2010 16:37:59 +0200 Subject: [PATCH] * cosmetic --- src/tests/test-mu-cmd.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/tests/test-mu-cmd.c b/src/tests/test-mu-cmd.c index 6744324b..98464d9f 100644 --- a/src/tests/test-mu-cmd.c +++ b/src/tests/test-mu-cmd.c @@ -46,7 +46,8 @@ fill_database (void) " --quiet", MU_PROGRAM, tmpdir, MU_TESTMAILDIR2); - g_assert (g_spawn_command_line_sync (cmdline, NULL, NULL, NULL, NULL)); + g_assert (g_spawn_command_line_sync (cmdline, NULL, NULL, + NULL, NULL)); g_free (cmdline); return tmpdir; @@ -78,8 +79,12 @@ search (const char* query, unsigned expected) cmdline = g_strdup_printf ("%s --muhome=%s find %s", MU_PROGRAM, muhome, query); + + /* g_printerr ("%s\n", cmdline); */ - g_assert (g_spawn_command_line_sync (cmdline, &output, &erroutput, NULL, NULL)); + g_assert (g_spawn_command_line_sync (cmdline, + &output, &erroutput, + NULL, NULL)); g_assert_cmpuint (newlines_in_output(output),==,expected); /* we expect zero lines of error output if there is a match; @@ -105,7 +110,8 @@ test_mu_index (void) muhome = fill_database (); g_assert (muhome != NULL); - xpath = g_strdup_printf ("%s%c%s", muhome, G_DIR_SEPARATOR, "xapian"); + xpath = g_strdup_printf ("%s%c%s", muhome, G_DIR_SEPARATOR, + "xapian"); store = mu_store_new (xpath); g_assert (store);