mirror of
https://github.com/nlohmann/json.git
synced 2026-10-13 09:47:12 +00:00
improved test coverage
This commit is contained in:
1 parent
ea84a85b13
commit
c04275966f
4 files changed
+11
-3
No files matched your search
+2
-1
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+2
-1
@@ -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