mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-10 11:14:05 +02:00
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:
@@ -144,7 +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_assert (g_content_type_is_mime_type (xml, "text/plain"));
|
||||||
|
|
||||||
g_free (plain);
|
g_free (plain);
|
||||||
g_free (xml);
|
g_free (xml);
|
||||||
|
Reference in New Issue
Block a user