aboutsummaryrefslogtreecommitdiff
path: root/tests/test-desktop-shortcuts.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-desktop-shortcuts.c')
-rw-r--r--tests/test-desktop-shortcuts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-desktop-shortcuts.c b/tests/test-desktop-shortcuts.c
index a4e767a..c2344db 100644
--- a/tests/test-desktop-shortcuts.c
+++ b/tests/test-desktop-shortcuts.c
@@ -100,7 +100,7 @@ test_desktop_shortcuts_launch (void)
g_assert(ids != NULL);
const gchar ** nicks = indicator_desktop_shortcuts_get_nicks(ids);
- g_assert(nicks != NULL);
+ g_assert(nicks_contains(nicks, "touch"));
g_assert(indicator_desktop_shortcuts_nick_exec(ids, "touch"));
g_assert(g_file_test("test-desktop-shortcuts-touch-test", G_FILE_TEST_EXISTS));