Skip to content

Commit 9f0c540

Browse files
committed
Document broken test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1470355 13f79535-47bb-0310-9956-ffa450edef68
1 parent 0f09727 commit 9f0c540

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/test/java/org/apache/commons/io/input/CharSequenceInputStreamTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ public void testSingleByteRead_UTF8() throws IOException {
347347
testSingleByteRead(TEST_STRING, "UTF-8");
348348
}
349349

350+
// This is broken for charsets that don't map each char to a byte
350351
public void testSkip(final String csName) throws Exception {
351352
final InputStream r = new CharSequenceInputStream("test", csName);
352353
try {
@@ -361,7 +362,7 @@ public void testSkip(final String csName) throws Exception {
361362
}
362363

363364
@Test
364-
@Ignore
365+
@Ignore // test is broken for charsets that generate multiple bytes per char.
365366
public void testSkip_RequiredCharsets() throws Exception {
366367
for (final String csName : getRequiredCharsetNames()) {
367368
testSkip(csName);

0 commit comments

Comments
 (0)