Test empty files

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1305668 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Bourg 2012-03-26 23:25:48 +00:00
parent c53d3f3025
commit 50a89da39f
1 changed files with 6 additions and 0 deletions

View File

@ -217,6 +217,12 @@ public class CSVParserTest {
}
}
@Test
public void testEmptyFile() throws Exception {
CSVParser parser = new CSVParser("", CSVFormat.DEFAULT);
assertNull(parser.getRecord());
}
@Test
@Ignore
public void testBackslashEscapingOld() throws IOException {