mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-02 09:16:17 +01:00
Add test-case for g_content_type_is_mime_type()
Verify presence of new interface. https://bugzilla.gnome.org/show_bug.cgi?id=734946
This commit is contained in:
parent
643c722f1e
commit
ecc27a0cba
@ -144,6 +144,7 @@ test_subtype (void)
|
|||||||
xml = g_content_type_from_mime_type ("application/xml");
|
xml = g_content_type_from_mime_type ("application/xml");
|
||||||
|
|
||||||
g_assert (g_content_type_is_a (xml, plain));
|
g_assert (g_content_type_is_a (xml, plain));
|
||||||
|
g_assert (g_content_type_is_mime_type (xml, plain));
|
||||||
|
|
||||||
g_free (plain);
|
g_free (plain);
|
||||||
g_free (xml);
|
g_free (xml);
|
||||||
|
Loading…
Reference in New Issue
Block a user