mirror of https://github.com/djcb/mu.git
* fix test-mu-cmd.c for stricter option checks
This commit is contained in:
parent
49077bf7d1
commit
6483e9d39e
|
@ -77,7 +77,7 @@ search (const char* query, unsigned expected)
|
|||
muhome = fill_database ();
|
||||
g_assert (muhome);
|
||||
|
||||
cmdline = g_strdup_printf ("%s --muhome=%s find %s",
|
||||
cmdline = g_strdup_printf ("%s find --muhome=%s %s",
|
||||
MU_PROGRAM, muhome, query);
|
||||
|
||||
/* g_printerr ("%s\n", cmdline); */
|
||||
|
@ -110,8 +110,7 @@ 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, 0, NULL);
|
||||
g_assert (store);
|
||||
|
|
Loading…
Reference in New Issue