1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-22 15:21:52 +03:00

🔨 fixed number parsing

This commit is contained in:
Niels Lohmann
2017-03-26 17:26:41 +02:00
parent 3b069b4b4c
commit 06e2a291b1
4 changed files with 43 additions and 26 deletions

View File

@ -216,6 +216,7 @@ TEST_CASE("regression tests")
{
json a = {1, 2, 3};
json::reverse_iterator rit = ++a.rbegin();
CHECK(*rit == json(2));
}
{
json a = {1, 2, 3};