diff --git a/gio/tests/meson.build b/gio/tests/meson.build index 130c26d3a..e31ee174c 100644 --- a/gio/tests/meson.build +++ b/gio/tests/meson.build @@ -856,8 +856,6 @@ if meson.can_run_host_binaries() gio_tests += { 'resources' : { 'extra_sources' : resources_extra_sources, - # FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392 - 'should_fail' : host_system == 'darwin', }, } endif diff --git a/gio/tests/resources.c b/gio/tests/resources.c index 910b18912..353ef7796 100644 --- a/gio/tests/resources.c +++ b/gio/tests/resources.c @@ -805,7 +805,11 @@ test_uri_query_info (void) g_assert_nonnull (content_type); mime_type = g_content_type_get_mime_type (content_type); g_assert_nonnull (mime_type); +#ifdef G_OS_DARWIN + g_assert_cmpstr (mime_type, ==, "text/*"); +#else g_assert_cmpstr (mime_type, ==, "text/plain"); +#endif g_free (mime_type); g_object_unref (info);