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:
Ryan Lortie 2013-09-12 14:38:08 -04:00
parent ac8b7ba925
commit 5a11019034

View File

@ -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);