From b0c53559c0a7cfcf27b146d83ca34ea721223191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Sat, 22 Jan 2022 01:54:22 +0400 Subject: [PATCH] tests: skip check anything is octet-stream MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Like on Mac, the contenttype database can't say that much yet. Signed-off-by: Marc-André Lureau --- gio/tests/contenttype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/tests/contenttype.c b/gio/tests/contenttype.c index 304083b3c..6cfd366ff 100644 --- a/gio/tests/contenttype.c +++ b/gio/tests/contenttype.c @@ -370,7 +370,7 @@ test_type_is_a_special_case (void) /* Everything but the inode type is application/octet-stream */ res = g_content_type_is_a ("inode/directory", "application/octet-stream"); g_assert_false (res); -#ifndef __APPLE__ +#if !defined(__APPLE__) && !defined(G_OS_WIN32) res = g_content_type_is_a ("anything", "application/octet-stream"); g_assert_true (res); #endif