1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-13 20:21:48 +03:00

improved test coverage

This commit is contained in:
Niels
2016-05-07 18:33:43 +02:00
parent ea84a85b13
commit c04275966f
4 changed files with 11 additions and 3 deletions

View File

@ -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
}
}
}