Skip to content

Commit a708256

Browse files
committed
Make lines clearer
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1306414 13f79535-47bb-0310-9956-ffa450edef68
1 parent 67390ea commit a708256

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

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

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,13 @@ public void testNextToken1() throws IOException {
5656
// multiline including comments (and empty lines)
5757
@Test
5858
public void testNextToken2() throws IOException {
59-
/* file: 1,2,3,
60-
* a,b x,c
61-
*
62-
* # this is a comment
63-
* d,e,
64-
*
65-
*/
66-
String code = "1,2,3,\na,b x,c\n#foo\n\nd,e,\n\n";
59+
final String code =
60+
"1,2,3,\n"+
61+
"a,b x,c\n"+
62+
"#foo\n"+
63+
"\n"+
64+
"d,e,\n"+
65+
"\n";
6766
CSVFormat format = CSVFormat.DEFAULT.withCommentStart('#');
6867

6968
Lexer parser = getLexer(code, format);

0 commit comments

Comments
 (0)