commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1307068 - /commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVParserTest.java
Date Thu, 29 Mar 2012 19:26:28 GMT
Author: sebb
Date: Thu Mar 29 19:26:28 2012
New Revision: 1307068

URL: http://svn.apache.org/viewvc?rev=1307068&view=rev
Log:
Add test for CSV-57

Modified:
    commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVParserTest.java

Modified: commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVParserTest.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVParserTest.java?rev=1307068&r1=1307067&r2=1307068&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVParserTest.java (original)
+++ commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVParserTest.java Thu Mar
29 19:26:28 2012
@@ -224,6 +224,14 @@ public class CSVParserTest {
     }
 
     @Test
+    public void testCSV57() throws Exception {
+        CSVParser parser = new CSVParser("", CSVFormat.DEFAULT);
+        List<CSVRecord> l = parser.getRecords();
+        assertNotNull(l);
+        assertEquals(0, l.size());
+    }
+
+    @Test
     @Ignore
     public void testBackslashEscapingOld() throws IOException {
         String code =



Mime
View raw message