From e35066fb5a9e161b5a2d70172441ef70836f2047 Mon Sep 17 00:00:00 2001 From: Eli Rosenthal Date: Sun, 20 Jun 2021 23:05:49 -0700 Subject: [PATCH] Add long lines, large fields test for whitespace This is relevant to the case mentioned in #60. --- src/runtime/splitter/batch.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/runtime/splitter/batch.rs b/src/runtime/splitter/batch.rs index 13e4a646..89196350 100644 --- a/src/runtime/splitter/batch.rs +++ b/src/runtime/splitter/batch.rs @@ -2158,5 +2158,12 @@ unquoted,commas,"as well, including some long ones", and there we have it."#; whitespace_split(crate::test_string_constants::PRIDE_PREJUDICE_CH2); whitespace_split(crate::test_string_constants::VIRGIL); whitespace_split(" leading whitespace \n and some more\n"); + whitespace_split( + r#"xxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyy 111111 +xxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyy 222222 +xxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyy 3333333 +xxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyy 4444444 +"#, + ); } }