Commit 47e3a3ed authored by Niels's avatar Niels

another test case

parent f8d263a8
...@@ -939,12 +939,10 @@ TEST_CASE("null") ...@@ -939,12 +939,10 @@ TEST_CASE("null")
CHECK(n2 == json()); CHECK(n2 == json());
json::iterator it = n1.begin(); json::iterator it = n1.begin();
++it; --it;
CHECK(it == n1.end());
json::const_iterator cit = n1.cbegin(); json::const_iterator cit = n1.cbegin();
++cit; --cit;
CHECK(cit == n1.cend());
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment