testsuite: Print update after changes, not before

This way, we don't do an empty print at the start and don't miss a print
at the end.
This commit is contained in:
Benjamin Otte 2023-06-10 20:20:10 +02:00
parent 2cbee7cf86
commit f06cfa2967

View File

@ -433,9 +433,6 @@ test_exhaustive (void)
gboolean add = FALSE, remove = FALSE;
guint position, n_items;
if (g_test_verbose ())
print_list_item_manager_tiles (items);
switch (g_test_rand_int_range (0, 6))
{
case 0:
@ -509,6 +506,9 @@ test_exhaustive (void)
{
g_list_store_remove (store, position);
}
if (g_test_verbose ())
print_list_item_manager_tiles (items);
}
check_list_item_manager (items, widget, trackers, N_TRACKERS);