mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Add some more cases to the app-id unit tests
These came up on irc today.
This commit is contained in:
parent
4a163a3301
commit
b56a95026c
@ -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] = '.';
|
||||
|
Loading…
Reference in New Issue
Block a user