Skip to content

Commit 9e3f3cc

Browse files
committed
Remove test method, escaping at EOF is already tested through testEscapingAtEOF()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1460365 13f79535-47bb-0310-9956-ffa450edef68
1 parent 3a1806b commit 9e3f3cc

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

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

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -206,23 +206,6 @@ public void testNextToken3Escaping() throws IOException {
206206
assertTokenEquals(EOF, "e", parser.nextToken(new Token()));
207207
}
208208

209-
// simple token with escaping enabled
210-
@Test
211-
public void testNextToken3BadEscaping() throws IOException {
212-
final String code = "a,b,c\\";
213-
final CSVFormat format = CSVFormat.newBuilder().withEscape('\\').build();
214-
assertTrue(format.isEscaping());
215-
final Lexer parser = getLexer(code, format);
216-
217-
assertTokenEquals(TOKEN, "a", parser.nextToken(new Token()));
218-
assertTokenEquals(TOKEN, "b", parser.nextToken(new Token()));
219-
try {
220-
final Token tkn = parser.nextToken(new Token());
221-
fail("Expected IOE, found "+tkn);
222-
} catch (final IOException e) {
223-
}
224-
}
225-
226209
// encapsulator tokenizer (single line)
227210
@Test
228211
public void testNextToken4() throws IOException {

0 commit comments

Comments
 (0)