Make lines clearer

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1306414 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2012-03-28 15:27:53 +00:00
parent 67390ea304
commit a708256b65

View File

@ -56,14 +56,13 @@ public class CSVLexerTest {
// multiline including comments (and empty lines) // multiline including comments (and empty lines)
@Test @Test
public void testNextToken2() throws IOException { public void testNextToken2() throws IOException {
/* file: 1,2,3, final String code =
* a,b x,c "1,2,3,\n"+
* "a,b x,c\n"+
* # this is a comment "#foo\n"+
* d,e, "\n"+
* "d,e,\n"+
*/ "\n";
String code = "1,2,3,\na,b x,c\n#foo\n\nd,e,\n\n";
CSVFormat format = CSVFormat.DEFAULT.withCommentStart('#'); CSVFormat format = CSVFormat.DEFAULT.withCommentStart('#');
Lexer parser = getLexer(code, format); Lexer parser = getLexer(code, format);