From 47e3a3ed244b378883e19c92381f4b6e066e0b31 Mon Sep 17 00:00:00 2001 From: Niels Date: Fri, 23 Jan 2015 20:46:46 +0100 Subject: [PATCH] another test case --- test/json_unit.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/json_unit.cc b/test/json_unit.cc index f20f755c..da83ca88 100644 --- a/test/json_unit.cc +++ b/test/json_unit.cc @@ -939,12 +939,10 @@ TEST_CASE("null") CHECK(n2 == json()); json::iterator it = n1.begin(); - ++it; - CHECK(it == n1.end()); + --it; json::const_iterator cit = n1.cbegin(); - ++cit; - CHECK(cit == n1.cend()); + --cit; } }