mirror of
https://github.com/nlohmann/json.git
synced 2026-04-10 18:18:52 +00:00
improved test coverage
This commit is contained in:
@@ -9708,7 +9708,8 @@ basic_json_parser_63:
|
||||
|
||||
default:
|
||||
{
|
||||
throw std::domain_error("unexpected parent type " + parent.type_name());
|
||||
// if there exists a parent it cannot be primitive
|
||||
assert(false); // LCOV_EXCL_LINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9018,7 +9018,8 @@ class basic_json
|
||||
|
||||
default:
|
||||
{
|
||||
throw std::domain_error("unexpected parent type " + parent.type_name());
|
||||
// if there exists a parent it cannot be primitive
|
||||
assert(false); // LCOV_EXCL_LINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user