Skip to content

Commit d31817b

Browse files
authored
Clarify comment on escaped null string in tests
Updated comment for clarity on null string handling.
1 parent c1ee0a7 commit d31817b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ void testEndOfFileBehaviorExcel() throws Exception {
587587
@ParameterizedTest
588588
@EnumSource(value = CSVFormat.Predefined.class, names = { "MySQL", "PostgreSQLCsv", "PostgreSQLText", "Oracle" })
589589
void testEscapedNullStringIsAValue(final CSVFormat.Predefined predefined) throws Exception {
590-
// For formats whose null string is "\\N" (e.g., MySQL, PostgreSQL Text, Oracle),
590+
// For formats whose null string is "\\N" (e.g., MySQL, PostgreSQL Text, Oracle),
591591
// a literal value "\\N" must be written as "\\\\N" so it is not read back as null.
592592
final CSVFormat format = predefined.getFormat();
593593
final StringWriter writer = new StringWriter();

0 commit comments

Comments
 (0)