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:
Daniel Macks 2017-04-24 01:40:51 -04:00 committed by Patrick Griffis
parent 643c722f1e
commit ecc27a0cba

View File

@ -144,6 +144,7 @@ test_subtype (void)
xml = g_content_type_from_mime_type ("application/xml");
g_assert (g_content_type_is_a (xml, plain));
g_assert (g_content_type_is_mime_type (xml, plain));
g_free (plain);
g_free (xml);