mirror of https://github.com/djcb/mu.git
* update test-cases
This commit is contained in:
parent
74409c3404
commit
8b687e678c
|
@ -321,8 +321,8 @@ test_mu_msg_tags (void)
|
|||
==, 1217530645);
|
||||
|
||||
tags = mu_msg_get_tags (msg);
|
||||
g_assert_cmpstr ((char*)tags->data,==,"paradise");
|
||||
g_assert_cmpstr ((char*)tags->next->data,==,"lost");
|
||||
g_assert_cmpstr ((char*)tags->data,==,"Paradise");
|
||||
g_assert_cmpstr ((char*)tags->next->data,==,"losT");
|
||||
g_assert (tags->next->next == NULL);
|
||||
|
||||
mu_msg_unref (msg);
|
||||
|
|
|
@ -45,7 +45,7 @@ fill_database (const char *testdir)
|
|||
" --quiet",
|
||||
MU_PROGRAM, tmpdir, testdir);
|
||||
|
||||
/* g_printerr ("\n%s\n", cmdline); */
|
||||
/* g_printerr ("\n%s\n", cmdline); */
|
||||
|
||||
g_assert (g_spawn_command_line_sync (cmdline, NULL, NULL,
|
||||
NULL, NULL));
|
||||
|
@ -450,8 +450,6 @@ test_mu_query_tags (void)
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
|
@ -477,9 +475,9 @@ main (int argc, char *argv[])
|
|||
g_test_add_func ("/mu-query/test-mu-query-tags",
|
||||
test_mu_query_tags);
|
||||
|
||||
/* g_log_set_handler (NULL, */
|
||||
/* G_LOG_LEVEL_MASK | G_LOG_FLAG_FATAL| G_LOG_FLAG_RECURSION, */
|
||||
/* (GLogFunc)black_hole, NULL); */
|
||||
g_log_set_handler (NULL,
|
||||
G_LOG_LEVEL_MASK | G_LOG_FLAG_FATAL| G_LOG_FLAG_RECURSION,
|
||||
(GLogFunc)black_hole, NULL);
|
||||
|
||||
rv = g_test_run ();
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ Subject: Fere libenter homines id quod volunt credunt
|
|||
To: "Julius Caesar" <jc@example.com>
|
||||
Message-id: <3BE9E6535E3029448670913581E7A1A20D852173@emss35m06.us.lmco.com>
|
||||
MIME-version: 1.0
|
||||
x-label: paradise,lost
|
||||
x-label: Paradise, losT
|
||||
Content-type: text/plain; charset=us-ascii
|
||||
Content-transfer-encoding: 7BIT
|
||||
Precedence: high
|
||||
|
|
Loading…
Reference in New Issue