diff --git a/src/test/java/com/github/jlangch/venice/impl/util/csv/CSVReaderTest.java b/src/test/java/com/github/jlangch/venice/impl/util/csv/CSVReaderTest.java index 59e3b6b3e..e55d02f25 100644 --- a/src/test/java/com/github/jlangch/venice/impl/util/csv/CSVReaderTest.java +++ b/src/test/java/com/github/jlangch/venice/impl/util/csv/CSVReaderTest.java @@ -81,11 +81,13 @@ public void test_5() { new CSVReader(',', '\'').parse("1,'Zurich','Wipkingen, X-''1''',ZH"); assertEquals(1, records.size()); - assertEquals(4, records.get(0).size()); - assertEquals("1", records.get(0).get(0)); - assertEquals("Zurich", records.get(0).get(1)); - assertEquals("Wipkingen, X-'1'", records.get(0).get(2)); - assertEquals("ZH", records.get(0).get(3)); + + final List record = records.get(0); + assertEquals(4, record.size()); + assertEquals("1",record.get(0)); + assertEquals("Zurich", record.get(1)); + assertEquals("Wipkingen, X-'1'", record.get(2)); + assertEquals("ZH", record.get(3)); } }