You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2013/04/08 19:59:03 UTC
svn commit: r1465693 -
/commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVLexerTest.java
Author: britter
Date: Mon Apr 8 17:59:02 2013
New Revision: 1465693
URL: http://svn.apache.org/r1465693
Log:
Give test a name that's a bit more expressive
Modified:
commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVLexerTest.java
Modified: commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVLexerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVLexerTest.java?rev=1465693&r1=1465692&r2=1465693&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVLexerTest.java (original)
+++ commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVLexerTest.java Mon Apr 8 17:59:02 2013
@@ -59,7 +59,7 @@ public class CSVLexerTest {
// Single line (without comment)
@Test
- public void testNextToken1() throws IOException {
+ public void testIgnoreSurroundingSpacesAreDeleted() throws IOException {
final String code = "abc,def, hijk, lmnop, qrst,uv ,wxy ,z , ,";
final Lexer parser = getLexer(code, CSVFormat.newBuilder().withIgnoreSurroundingSpaces(true).build());
assertThat(parser.nextToken(new Token()), matches(TOKEN, "abc"));