From f8d263a811ab54431ba8c7aa9b1cc36311d471e8 Mon Sep 17 00:00:00 2001
From: Niels <niels.lohmann@gmail.com>
Date: Fri, 23 Jan 2015 18:42:24 +0100
Subject: [PATCH] another test case

---
 test/json_unit.cc | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/test/json_unit.cc b/test/json_unit.cc
index 977eb53d..f20f755c 100644
--- a/test/json_unit.cc
+++ b/test/json_unit.cc
@@ -938,11 +938,13 @@ TEST_CASE("null")
         CHECK(n1 == json());
         CHECK(n2 == json());
 
-        json::reverse_iterator ri = n1.rbegin();
-        ri--;
+        json::iterator it = n1.begin();
+        ++it;
+        CHECK(it == n1.end());
 
-        json::const_reverse_iterator rci = n1.crbegin();
-        rci--;
+        json::const_iterator cit = n1.cbegin();
+        ++cit;
+        CHECK(cit == n1.cend());
     }
 }