File tree Expand file tree Collapse file tree
src/test/java/org/apache/commons/io Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 */
3131public class CharsetsTestCase {
3232
33+ @ Test
34+ public void testIso8859_1 () {
35+ Assert .assertEquals ("ISO-8859-1" , Charsets .ISO_8859_1 .name ());
36+ }
37+
3338 @ Test
3439 public void testToCharset () {
3540 Assert .assertEquals (Charset .defaultCharset (), Charsets .toCharset ((String ) null ));
3641 Assert .assertEquals (Charset .defaultCharset (), Charsets .toCharset ((Charset ) null ));
3742 Assert .assertEquals (Charset .defaultCharset (), Charsets .toCharset (Charset .defaultCharset ()));
3843 Assert .assertEquals (Charset .forName ("UTF-8" ), Charsets .toCharset (Charset .forName ("UTF-8" )));
3944 }
40-
41- @ Test
42- public void testIso8859_1 () {
43- Assert .assertEquals ("ISO-8859-1" , Charsets .ISO_8859_1 .name ());
44- }
4545
4646 @ Test
4747 public void testUsAscii () {
You can’t perform that action at this time.
0 commit comments