From a708256b65819eb39fb401516e12b59818fffffd Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Wed, 28 Mar 2012 15:27:53 +0000 Subject: [PATCH] Make lines clearer git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1306414 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/commons/csv/CSVLexerTest.java | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/test/java/org/apache/commons/csv/CSVLexerTest.java b/src/test/java/org/apache/commons/csv/CSVLexerTest.java index 27680aff..3c81fa7a 100644 --- a/src/test/java/org/apache/commons/csv/CSVLexerTest.java +++ b/src/test/java/org/apache/commons/csv/CSVLexerTest.java @@ -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);