Fix bug where header reading corrupted the current line buffer

This commit is contained in:
ado
2023-07-16 18:25:15 +02:00
parent 03f5b839fc
commit 5ab41c0315
2 changed files with 11 additions and 8 deletions

View File

@@ -689,6 +689,7 @@ std::string no_quote(const std::string& s) {
}
TEST_CASE("parser test csv on multiple lines with quotes") {
// TODO test with "_""_""_",...
unique_file_name f;
std::vector<X> data = {{1, 2, "\"x\r\nx\nx\""},
{3, 4, "\"y\ny\r\ny\""},