Issue #1098 adding unit tests for bug report.

This commit is contained in:
Joakim Erdfelt 2016-11-14 14:08:11 -07:00
parent 3b36b13d31
commit 708104ccaf
1 changed files with 1 additions and 1 deletions

View File

@ -92,8 +92,8 @@ public class MimeTypesTest
assertEquals(null,MimeTypes.getCharsetFromContentType("foo/bar"));
assertEquals("utf-8",MimeTypes.getCharsetFromContentType("foo/bar;charset=uTf8"));
assertEquals("utf-8",MimeTypes.getCharsetFromContentType("foo/bar;other=\"charset=abc\";charset=uTf8"));
assertEquals("utf-8",MimeTypes.getCharsetFromContentType("application/pdf;;; charset=UTF-8"));
assertEquals("utf-8",MimeTypes.getCharsetFromContentType("text/html;charset=utf-8"));
}
@Test