mirror of
https://github.com/red0124/ssp.git
synced 2025-12-14 21:59:55 +01:00
Add invalid header usage tests
This commit is contained in:
@@ -978,3 +978,4 @@ TEST_CASE("converter test invalid split conversions with exceptions") {
|
||||
buff(R"(just,some,2,"strings\")")));
|
||||
CHECK(c.unterminated_quote());
|
||||
}
|
||||
|
||||
|
||||
@@ -1168,14 +1168,12 @@ void test_invalid_fields_impl(const std::vector<std::string>& lines,
|
||||
}
|
||||
out.close();
|
||||
|
||||
/* TODO test
|
||||
{
|
||||
// No fields specified
|
||||
ss::parser<Ts...> p{f.name, ","};
|
||||
p.use_fields();
|
||||
CHECK(!p.valid());
|
||||
auto command = [&] { p.use_fields(); };
|
||||
expect_error_on_command(p, command);
|
||||
}
|
||||
*/
|
||||
|
||||
{
|
||||
// Unknown field
|
||||
|
||||
Reference in New Issue
Block a user