tests: Fix g_content_type_is_mime_type() test on OSX

It should be passed a mime type not a content type.

https://bugzilla.gnome.org/show_bug.cgi?id=734946
This commit is contained in:
Patrick Griffis 2017-04-29 03:44:42 -04:00
parent 17a3c782db
commit cbcf10411c

View File

@ -144,7 +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_assert (g_content_type_is_mime_type (xml, "text/plain"));
g_free (plain);
g_free (xml);