Skip to content

Commit 3358e83

Browse files
committed
Add comment why test uses a different CSVFormat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1460369 13f79535-47bb-0310-9956-ffa450edef68
1 parent dbbae1e commit 3358e83

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ public void testEscapedCharacter() throws Exception {
329329
@Test
330330
@Ignore
331331
public void testEscapedControlCharacter() throws Exception {
332+
// we are explicitly using an escape different from \ here, because \r is the character sequence for CR
332333
final Lexer lexer = getLexer("character!rEscaped", CSVFormat.newBuilder().withEscape('!').build());
333334
assertTokenEquals(EOF, "character!rEscaped", lexer.nextToken(new Token()));
334335
}

0 commit comments

Comments
 (0)