Skip to content

Commit

Permalink
Add long lines, large fields test for whitespace
Browse files Browse the repository at this point in the history
This is relevant to the case mentioned in #60.
  • Loading branch information
ezrosent committed Jun 21, 2021
1 parent 576590d commit e35066f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/runtime/splitter/batch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
"#,
);
}
}

0 comments on commit e35066f

Please sign in to comment.