another test case

This commit is contained in:
Niels 2015-01-23 20:46:46 +01:00
parent f8d263a811
commit 47e3a3ed24

View file

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