From b56a95026cdd39e9cbe992856a607bdb2af67a21 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 5 Mar 2017 13:11:08 -0500 Subject: [PATCH] Add some more cases to the app-id unit tests These came up on irc today. --- gio/tests/gapplication.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gio/tests/gapplication.c b/gio/tests/gapplication.c index 33d757e6f..55d0c0d2a 100644 --- a/gio/tests/gapplication.c +++ b/gio/tests/gapplication.c @@ -437,6 +437,9 @@ appid (void) g_assert (!g_application_id_is_valid ("a\nb")); g_assert (!g_application_id_is_valid ("_a.b")); g_assert (!g_application_id_is_valid ("-a.b")); + g_assert (!g_application_id_is_valid ("emoji_picker")); + g_assert (!g_application_id_is_valid ("emoji-picker")); + g_assert (!g_application_id_is_valid ("emojipicker")); id = g_new0 (gchar, 261); memset (id, 'a', 260); id[1] = '.'; -- 2.11.4.GIT