mirror of
https://github.com/nlohmann/json.git
synced 2026-10-14 10:17:12 +00:00
fixed test case coverage
This commit is contained in:
1 parent
bb558d8e6f
commit
b21bf95620
1 file changed
+6
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user