mirror of
https://github.com/apache/commons-csv.git
synced 2025-02-17 15:35:46 +00:00
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:
parent
61a879bf68
commit
1c728b40e5
@ -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"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user