Apply minor change to iterator, add handling of invalid header

This commit is contained in:
ado
2023-08-06 15:55:23 +02:00
parent a378998e34
commit a152a8cb4a
2 changed files with 31 additions and 6 deletions

View File

@@ -1286,6 +1286,9 @@ void test_invalid_fields(const std::vector<std::string>& lines,
TEST_CASE("parser test invalid header fields usage") {
test_invalid_fields({"Int,String,Double", "1,hi,2.34"},
{"Int", "String", "Double"});
test_invalid_fields({"Int,Int,Int", "1,2,3"},
{"Int", "Int", "Int"});
}
template <typename... Ts>