Merge branch 'bugfix-error_formatting_doubles' of github.com:Rejudge-F/osrm-backend into bugfix-error_formatting_doubles

This commit is contained in:
张峰 2023-02-01 11:31:20 +08:00
commit fa28b39b54
2 changed files with 4 additions and 1 deletions

View File

@ -14,6 +14,8 @@
#include <string>
#include <vector>
#include <boost/assert.hpp>
#include <fmt/compile.h>
namespace osrm::util::json

View File

@ -27,7 +27,8 @@ BOOST_AUTO_TEST_CASE(integer)
BOOST_CHECK_EQUAL(str, "42");
}
BOOST_AUTO_TEST_CASE(test_json_issue_6531) {
BOOST_AUTO_TEST_CASE(test_json_issue_6531)
{
std::string output;
osrm::util::json::Renderer<std::string> renderer(output);
renderer(0.0000000000017114087924596788);