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
1 changed files with 7 additions and 8 deletions

View File

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