mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
tests/monitor-config: Improve debugging output
Make it easier to find out what went wrong with `migrated_data` by having it included in the debug logs. Closes: <https://gitlab.gnome.org/GNOME/mutter/-/issues/1011> Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1685>
This commit is contained in:
parent
88647ae23c
commit
180e62519b
@ -75,7 +75,7 @@ test_migration (const char *old_config,
|
|||||||
g_assert_nonnull (expected_data);
|
g_assert_nonnull (expected_data);
|
||||||
g_assert_nonnull (migrated_data);
|
g_assert_nonnull (migrated_data);
|
||||||
|
|
||||||
g_assert (strcmp (expected_data, migrated_data) == 0);
|
g_assert_cmpstr (expected_data, ==, migrated_data);
|
||||||
|
|
||||||
migrated_file = g_file_new_for_path (migrated_path);
|
migrated_file = g_file_new_for_path (migrated_path);
|
||||||
if (!g_file_delete (migrated_file, NULL, &error))
|
if (!g_file_delete (migrated_file, NULL, &error))
|
||||||
|
Loading…
Reference in New Issue
Block a user