mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01: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:
parent
17a3c782db
commit
cbcf10411c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user