mirror of
https://github.com/nlohmann/json.git
synced 2024-12-04 14:39:01 +08:00
using CHECK_THROWS_WITH to check exceptions (#160)
This commit is contained in:
parent
d6b8830e03
commit
7371c71d2a
@ -6441,7 +6441,7 @@ class basic_json
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// return name of values of type token_type
|
/// return name of values of type token_type (only used for errors)
|
||||||
static std::string token_type_name(token_type t)
|
static std::string token_type_name(token_type t)
|
||||||
{
|
{
|
||||||
switch (t)
|
switch (t)
|
||||||
|
972
test/unit.cpp
972
test/unit.cpp
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user