From 9537c70b6736fccc96f4080d5bf14d2b0882f999 Mon Sep 17 00:00:00 2001
From: Niels <niels.lohmann@gmail.com>
Date: Sat, 3 Jan 2015 17:51:14 +0100
Subject: [PATCH] removing flawed test case

---
 test/JSON_unit.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/JSON_unit.cc b/test/JSON_unit.cc
index aafa086a..58fc2238 100644
--- a/test/JSON_unit.cc
+++ b/test/JSON_unit.cc
@@ -151,7 +151,8 @@ TEST_CASE("array")
         CHECK_NOTHROW(j[21]);
         CHECK_THROWS_AS(const int i = j.at(21), std::out_of_range);
         CHECK_THROWS_AS(nonarray[0] = 10, std::domain_error);
-        CHECK_NOTHROW(j[21] = 5);
+        // the next test is remove due to undefined behavior
+        //CHECK_NOTHROW(j[21] = 5);
         CHECK_THROWS_AS(j.at(21) = 5, std::out_of_range);
         CHECK_THROWS_AS(nonarray += 2, std::runtime_error);