commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1471185 - /commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/CharSequenceInputStreamTest.java
Date Tue, 23 Apr 2013 22:29:46 GMT
Author: sebb
Date: Tue Apr 23 22:29:45 2013
New Revision: 1471185

URL: http://svn.apache.org/r1471185
Log:
Check we skipped the correct number

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=1471185&r1=1471184&r2=1471185&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
Tue Apr 23 22:29:45 2013
@@ -243,7 +243,7 @@ public class CharSequenceInputStreamTest
     private void testMarkReset(final String csName) throws Exception {
         final InputStream r = new CharSequenceInputStream("test", csName);
         try {
-            r.skip(2);
+            assertEquals(2, r.skip(2));
             r.mark(0);
             assertEquals(csName, 's', r.read());
             assertEquals(csName, 't', r.read());



Mime
View raw message