From 7afabc2b7ec0853ef8514e06d69f1380df2a535e Mon Sep 17 00:00:00 2001 From: Niels Date: Tue, 20 Jan 2015 22:06:45 +0100 Subject: [PATCH] another test case --- test/json_unit.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/test/json_unit.cc b/test/json_unit.cc index 673b4441..dcb1a635 100644 --- a/test/json_unit.cc +++ b/test/json_unit.cc @@ -171,6 +171,7 @@ TEST_CASE("array") json nonarray3 = json(2); json empty3 = json(); CHECK_THROWS_AS(nonarray2.push_back(nonarray3), std::runtime_error); + CHECK_THROWS_AS(nonarray2.push_back(3), std::runtime_error); CHECK_NOTHROW(empty3.push_back(nonarray3)); CHECK(empty3.type() == json::value_type::array); }