Skip to content
Snippets Groups Projects
Commit 9e2bd6a7 authored by Rafaël Carré's avatar Rafaël Carré
Browse files

* #6360 : fix warnings in check_global test

parent 548f6f0f
No related branches found
No related tags found
No related merge requests found
......@@ -123,16 +123,16 @@ START_TEST (test_get_account_position)
pos = account_list_get_position (test);
pos1 = account_list_get_position (test2);
fail_if (pos == -1, "ERROR - bad account position");
fail_if (pos == (guint)-1, "ERROR - bad account position");
fail_unless (pos == 0, "ERROR - bad account position");
fail_if (pos1 == -1, "ERROR - bad account position");
fail_if (pos1 == (guint)-1, "ERROR - bad account position");
fail_unless (pos1 == 1, "ERROR - bad account position");
account_list_set_current (test);
pos = account_list_get_position (test);
pos1 = account_list_get_position (test2);
fail_if (pos == -1, "ERROR - bad account position");
fail_if (pos == (guint)-1, "ERROR - bad account position");
fail_unless (pos == 0, "ERROR - bad account position");
fail_unless (pos1 == 1, "ERROR - bad account position");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment