commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1165970 - /commons/proper/io/trunk/src/test/java/org/apache/commons/io/LineIteratorTestCase.java
Date Wed, 07 Sep 2011 02:47:43 GMT
Author: ggregory
Date: Wed Sep  7 02:47:43 2011
New Revision: 1165970

URL: http://svn.apache.org/viewvc?rev=1165970&view=rev
Log:
Remove assert because the iterator always deals Strings. 

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

Modified: commons/proper/io/trunk/src/test/java/org/apache/commons/io/LineIteratorTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/java/org/apache/commons/io/LineIteratorTestCase.java?rev=1165970&r1=1165969&r2=1165970&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/java/org/apache/commons/io/LineIteratorTestCase.java
(original)
+++ commons/proper/io/trunk/src/test/java/org/apache/commons/io/LineIteratorTestCase.java
Wed Sep  7 02:47:43 2011
@@ -174,7 +174,6 @@ public class LineIteratorTestCase extend
         try {
             int count = 0;
             while (iterator.hasNext()) {
-                assertTrue(iterator.next() instanceof String);
                 count++;
             }
             assertEquals(3, count);



Mime
View raw message