mirror of
https://github.com/nlohmann/json
synced 2024-11-30 07:30:06 +00:00
fixed test case coverage
This commit is contained in:
parent
bb558d8e6f
commit
b21bf95620
@ -5514,6 +5514,12 @@ TEST_CASE("lexer class")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
SECTION("to_unicode")
|
||||
{
|
||||
CHECK(json::lexer::to_unicode<char>(0x1F4A9) == "💩");
|
||||
CHECK_THROWS_AS(json::lexer::to_unicode<char>(0x110000), std::out_of_range);
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("parser class")
|
||||
|
Loading…
Reference in New Issue
Block a user