mirror of
https://github.com/apache/commons-csv.git
synced 2025-02-18 16:11:47 +00:00
Fix up TODOs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1509967 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3fd92ec4a4
commit
6208f0c9af
@ -324,37 +324,37 @@ public class CSVLexerTest {
|
||||
assertThat(lexer.nextToken(new Token()), hasContent("NotEscaped"));
|
||||
}
|
||||
|
||||
@Test // TODO is this correct? Do we expect TAB to be un/escaped?
|
||||
@Test // TODO is this correct? Do we expect <esc>TAB to be unescaped?
|
||||
public void testEscapedTab() throws Exception {
|
||||
final Lexer lexer = getLexer("character\\" + TAB + "Escaped", formatWithEscaping);
|
||||
assertThat(lexer.nextToken(new Token()), hasContent("character" + TAB + "Escaped"));
|
||||
}
|
||||
|
||||
@Test // TODO is this correct? Do we expect TAB to be un/escaped?
|
||||
@Test
|
||||
public void testTab() throws Exception {
|
||||
final Lexer lexer = getLexer("character" + TAB + "NotEscaped", formatWithEscaping);
|
||||
assertThat(lexer.nextToken(new Token()), hasContent("character" + TAB + "NotEscaped"));
|
||||
}
|
||||
|
||||
@Test // TODO is this correct? Do we expect BACKSPACE to be un/escaped?
|
||||
@Test // TODO is this correct? Do we expect <esc>BACKSPACE to be unescaped?
|
||||
public void testEscapedBackspace() throws Exception {
|
||||
final Lexer lexer = getLexer("character\\" + BACKSPACE + "Escaped", formatWithEscaping);
|
||||
assertThat(lexer.nextToken(new Token()), hasContent("character" + BACKSPACE + "Escaped"));
|
||||
}
|
||||
|
||||
@Test // TODO is this correct? Do we expect BACKSPACE to be un/escaped?
|
||||
@Test
|
||||
public void testBackspace() throws Exception {
|
||||
final Lexer lexer = getLexer("character" + BACKSPACE + "NotEscaped", formatWithEscaping);
|
||||
assertThat(lexer.nextToken(new Token()), hasContent("character" + BACKSPACE + "NotEscaped"));
|
||||
}
|
||||
|
||||
@Test // TODO is this correct? Do we expect FF to be un/escaped?
|
||||
@Test // TODO is this correct? Do we expect <esc>FF to be unescaped?
|
||||
public void testEscapedFF() throws Exception {
|
||||
final Lexer lexer = getLexer("character\\" + FF + "Escaped", formatWithEscaping);
|
||||
assertThat(lexer.nextToken(new Token()), hasContent("character" + FF + "Escaped"));
|
||||
}
|
||||
|
||||
@Test // TODO is this correct? Do we expect FF to be un/escaped?
|
||||
@Test
|
||||
public void testFF() throws Exception {
|
||||
final Lexer lexer = getLexer("character" + FF + "NotEscaped", formatWithEscaping);
|
||||
assertThat(lexer.nextToken(new Token()), hasContent("character" + FF + "NotEscaped"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user