From 1c10efb7beb4c892c58849228615f60f1813a6fa Mon Sep 17 00:00:00 2001 From: Niels Date: Sun, 28 Dec 2014 13:11:50 +0100 Subject: [PATCH] + error fix --- test/JSON_unit.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/JSON_unit.cc b/test/JSON_unit.cc index 7322dcb56..a32b7aabc 100644 --- a/test/JSON_unit.cc +++ b/test/JSON_unit.cc @@ -151,8 +151,8 @@ TEST_CASE("array") CHECK_THROWS_AS(nonarray += 2, std::runtime_error); { - JSON nonarray2 = JSON(nullptr); - JSON nonarray3 = JSON(nullptr); + JSON nonarray2 = JSON(1); + JSON nonarray3 = JSON(2); CHECK_THROWS_AS(nonarray2.push_back(nonarray3), std::runtime_error); }