From 3358e83a0d7a144acf12dc6f19c5a44ebd7a203d Mon Sep 17 00:00:00 2001 From: Benedikt Ritter Date: Sun, 24 Mar 2013 13:38:32 +0000 Subject: [PATCH] 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 --- src/test/java/org/apache/commons/csv/CSVLexerTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/org/apache/commons/csv/CSVLexerTest.java b/src/test/java/org/apache/commons/csv/CSVLexerTest.java index 8c3c177e..1406a24c 100644 --- a/src/test/java/org/apache/commons/csv/CSVLexerTest.java +++ b/src/test/java/org/apache/commons/csv/CSVLexerTest.java @@ -329,6 +329,7 @@ public class CSVLexerTest { @Test @Ignore public void testEscapedControlCharacter() throws Exception { + // we are explicitly using an escape different from \ here, because \r is the character sequence for CR final Lexer lexer = getLexer("character!rEscaped", CSVFormat.newBuilder().withEscape('!').build()); assertTokenEquals(EOF, "character!rEscaped", lexer.nextToken(new Token())); }