You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by kr...@apache.org on 2015/12/09 20:51:50 UTC

svn commit: r1718946 - /commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/CharSequenceInputStreamTest.java

Author: krosenvold
Date: Wed Dec  9 19:51:50 2015
New Revision: 1718946

URL: http://svn.apache.org/viewvc?rev=1718946&view=rev
Log:
Output name of charset being asserted on

Modified:
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/CharSequenceInputStreamTest.java

Modified: commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/CharSequenceInputStreamTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/CharSequenceInputStreamTest.java?rev=1718946&r1=1718945&r2=1718946&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/CharSequenceInputStreamTest.java (original)
+++ commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/CharSequenceInputStreamTest.java Wed Dec  9 19:51:50 2015
@@ -63,7 +63,7 @@ public class CharSequenceInputStreamTest
                 final int bufferLength = random.nextInt(64);
                 int read = in.read(buffer, bufferOffset, bufferLength);
                 if (read == -1) {
-                    assertEquals("EOF: offset should equal length", expected.length, offset);
+                    assertEquals("EOF: offset should equal length for charset " + charsetName, expected.length, offset);
                     break;
                 } else {
                     assertTrue("Read " + read + " <= " + bufferLength, read <= bufferLength);