mirror of
https://github.com/nlohmann/json.git
synced 2026-02-23 20:06:25 +00:00
🔨 fixed number parsing
This commit is contained in:
@@ -305,6 +305,7 @@ TEST_CASE("compliance tests from nativejson-benchmark")
|
||||
std::string json_string( (std::istreambuf_iterator<char>(f) ),
|
||||
(std::istreambuf_iterator<char>()) );
|
||||
|
||||
CAPTURE(json_string);
|
||||
json j = json::parse(json_string);
|
||||
CHECK(j.dump() == json_string);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user