From ecc27a0cbaaa0ec87e0ac362d2ada17dab519a42 Mon Sep 17 00:00:00 2001 From: Daniel Macks Date: Mon, 24 Apr 2017 01:40:51 -0400 Subject: [PATCH] Add test-case for g_content_type_is_mime_type() Verify presence of new interface. https://bugzilla.gnome.org/show_bug.cgi?id=734946 --- gio/tests/contenttype.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gio/tests/contenttype.c b/gio/tests/contenttype.c index 407186b6b..4b4be46a1 100644 --- a/gio/tests/contenttype.c +++ b/gio/tests/contenttype.c @@ -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);