diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-01-07 14:35:30 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-01-07 14:35:30 +0100 |
commit | f69fd2528ec0ebdbe48983ad3eabd002de7ba2bd (patch) | |
tree | 3abf94392ed31ac7a254b74a786e9d2304431e97 | |
parent | ecbbd6b5c3798b704412750a6183ed74e0133f7a (diff) |
tests: Fix current test-mime failures
-rw-r--r-- | src/test-mime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test-mime.c b/src/test-mime.c index d341f7d..e68222a 100644 --- a/src/test-mime.c +++ b/src/test-mime.c @@ -140,12 +140,12 @@ test_matches (void) test_one_match ("foo.bar.epub", "application/epub+zip"); test_one_match ("core", "application/x-core"); test_one_match ("README.in", "text/x-readme"); - test_one_match ("README.gz", "application/x-gzip"); + test_one_match ("README.gz", "application/gzip"); test_one_match ("blabla.cs", "text/x-csharp"); test_one_match ("blabla.f90", "text/x-fortran"); test_one_match ("blabla.F95", "text/x-fortran"); test_one_match ("tarball.tar.gz", "application/x-compressed-tar"); - test_one_match ("file.gz", "application/x-gzip"); + test_one_match ("file.gz", "application/gzip"); test_one_match ("file.tar.lzo", "application/x-tzo"); test_one_match ("file.lzo", "application/x-lzop"); } @@ -155,7 +155,7 @@ test_one_icon (const char *mimetype, const char *expected) { const char *actual; - actual = xdg_mime_get_icon (mimetype); + actual = xdg_mime_get_generic_icon (mimetype); if (actual != expected && (actual == NULL || strcmp (actual, expected) != 0)) { |