diff options
author | Christoph Reiter <creiter@src.gnome.org> | 2018-08-19 20:04:41 +0200 |
---|---|---|
committer | Christoph Reiter <creiter@src.gnome.org> | 2018-08-19 20:04:41 +0200 |
commit | 6b833bc2f186a52de7b8ad20ade3c3d75ff53752 (patch) | |
tree | f0fdced913a483580db018731fdf24464c4b4239 | |
parent | abae9a4851b38f0944e3fe13c9edf0a7d2e49b1d (diff) | |
download | glib-fix-gnotification-tests.tar.gz |
tests: fix gnotification tests broken due to the recent icon name fallback changesfix-gnotification-tests
In !72 themed icons were changed to fall back to the symbolic variant.
The gnotification tests were still testing for the old list of names.
-rw-r--r-- | gio/tests/gnotification.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gio/tests/gnotification.c b/gio/tests/gnotification.c index c896af684..80d476d5a 100644 --- a/gio/tests/gnotification.c +++ b/gio/tests/gnotification.c @@ -219,7 +219,8 @@ test_properties (void) g_assert (G_IS_THEMED_ICON (rn->icon)); names = g_themed_icon_get_names (G_THEMED_ICON (rn->icon)); g_assert_cmpstr (names[0], ==, "i-c-o-n"); - g_assert (names[1] == NULL); + g_assert_cmpstr (names[1], ==, "i-c-o-n-symbolic"); + g_assert_null (names[2]); g_assert (rn->priority == G_NOTIFICATION_PRIORITY_HIGH); g_assert_cmpint (rn->buttons->len, ==, 1); |