提交 b21bf956 编写于 作者: N Niels

fixed test case coverage

上级 bb558d8e
......@@ -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")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册