You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "rootvector2 (via GitHub)" <gi...@apache.org> on 2026/06/25 21:16:08 UTC

Re: [PR] Evaluate isDelimiter once in nextToken whitespace skip [commons-csv]

rootvector2 commented on PR #618:
URL: https://github.com/apache/commons-csv/pull/618#issuecomment-4804227108

   Added `testEmptyFieldBeforeWhitespacePrefixedMultiCharacterDelimiter` in `CSVParserTest`. With delimiter ` |` and `ignoreSurroundingSpaces` on, ` |a` parses to `["", "a"]` and `a | |b` to `["a", "", "b"]`. Without the fix both lose the empty field (the test fails with `array lengths differ, expected: <2> but was: <1>`). Full `mvn` is green.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org