mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
tests: remove assertion for '!uncertain' on .txt
Virtaal installs a mime package for various .po-like file formats, one of which has the extension .txt. This causes GLib to report ".txt" files still as "text/plain" but no longer with complete certainty. The result is that asserting !uncertain during the testsuite causes the test to fail if Virtaal happens to be installed. Remove this assertion.
This commit is contained in:
parent
ac8b7ba925
commit
5a11019034
@ -23,7 +23,6 @@ test_guess (void)
|
||||
res = g_content_type_guess ("foo.txt", NULL, 0, &uncertain);
|
||||
expected = g_content_type_from_mime_type ("text/plain");
|
||||
g_assert (g_content_type_equals (expected, res));
|
||||
g_assert (!uncertain);
|
||||
g_free (res);
|
||||
g_free (expected);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user