Skip to content

Commit 6b3afdc

Browse files
committed
Clean up constant name.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1584893 13f79535-47bb-0310-9956-ffa450edef68
1 parent 8e9dd9e commit 6b3afdc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/test/java/org/apache/commons/csv/CSVParserTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
*/
6161
public class CSVParserTest {
6262

63-
private static final String CSVINPUT = "a,b,c,d\n"
63+
private static final String CSV_INPUT = "a,b,c,d\n"
6464
+ " a , b , 1 2 \n"
6565
+ "\"foo baar\", b,\n"
6666
// + " \"foo\n,,\n\"\",,\n\\\"\",d,e\n";
@@ -487,7 +487,7 @@ public void testGetHeaderMap() throws Exception {
487487

488488
@Test
489489
public void testGetLine() throws IOException {
490-
final CSVParser parser = CSVParser.parse(CSVINPUT, CSVFormat.DEFAULT.withIgnoreSurroundingSpaces(true));
490+
final CSVParser parser = CSVParser.parse(CSV_INPUT, CSVFormat.DEFAULT.withIgnoreSurroundingSpaces(true));
491491
for (final String[] re : RESULT) {
492492
assertArrayEquals(re, parser.nextRecord().values());
493493
}
@@ -528,7 +528,7 @@ public void testGetRecordNumberWithLF() throws Exception {
528528

529529
@Test
530530
public void testGetRecords() throws IOException {
531-
final CSVParser parser = CSVParser.parse(CSVINPUT, CSVFormat.DEFAULT.withIgnoreSurroundingSpaces(true));
531+
final CSVParser parser = CSVParser.parse(CSV_INPUT, CSVFormat.DEFAULT.withIgnoreSurroundingSpaces(true));
532532
final List<CSVRecord> records = parser.getRecords();
533533
assertEquals(RESULT.length, records.size());
534534
assertTrue(records.size() > 0);

0 commit comments

Comments
 (0)