🔨 fixed number parsing

This commit is contained in:
Niels Lohmann 2017-03-26 17:26:41 +02:00
parent 3b069b4b4c
commit 06e2a291b1
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
4 changed files with 43 additions and 26 deletions

View file

@ -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);
}