Skip to content

Commit 7197abf

Browse files
committed
Another working test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1470360 13f79535-47bb-0310-9956-ffa450edef68
1 parent 05fdca3 commit 7197abf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ public void testCharsetMismatchInfiniteLoop_RequiredCharsets() throws IOExceptio
130130
}
131131
}
132132

133+
// Test is broken if readFirst > 0
134+
// This is because the initial read fills the buffer from the CharSequence
135+
// so data1 gets the first buffer full; data2 will get the next buffer full
133136
private void testIO_356(final int bufferSize, final int dataSize, final int readFirst, final String csName) throws Exception {
134137
final CharSequenceInputStream is = new CharSequenceInputStream(ALPHABET, csName, bufferSize);
135138

@@ -179,7 +182,6 @@ public void testIO_356_B10_D10_S2_UTF8() throws Exception {
179182
}
180183

181184
@Test
182-
@Ignore
183185
public void testIO_356_B10_D13_S0_UTF8() throws Exception {
184186
testIO_356(10, 13, 0, "UTF-8");
185187
}

0 commit comments

Comments
 (0)