Give test a name that's a bit more expressive

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1465693 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benedikt Ritter 2013-04-08 17:59:02 +00:00
parent 61a879bf68
commit 1c728b40e5

View File

@ -59,7 +59,7 @@ public class CSVLexerTest {
// Single line (without comment) // Single line (without comment)
@Test @Test
public void testNextToken1() throws IOException { public void testIgnoreSurroundingSpacesAreDeleted() throws IOException {
final String code = "abc,def, hijk, lmnop, qrst,uv ,wxy ,z , ,"; final String code = "abc,def, hijk, lmnop, qrst,uv ,wxy ,z , ,";
final Lexer parser = getLexer(code, CSVFormat.newBuilder().withIgnoreSurroundingSpaces(true).build()); final Lexer parser = getLexer(code, CSVFormat.newBuilder().withIgnoreSurroundingSpaces(true).build());
assertThat(parser.nextToken(new Token()), matches(TOKEN, "abc")); assertThat(parser.nextToken(new Token()), matches(TOKEN, "abc"));