File tree Expand file tree Collapse file tree
src/test/java/org/apache/commons/csv Expand file tree Collapse file tree Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments