From da8fa3535a71515aeddc68421e63017c1f503d3a Mon Sep 17 00:00:00 2001 From: chenguoping Date: Wed, 17 Jun 2020 20:41:31 +0800 Subject: [PATCH] drop testcase --- test/src/unit-element_access2.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/src/unit-element_access2.cpp b/test/src/unit-element_access2.cpp index d2a19108..e881a947 100644 --- a/test/src/unit-element_access2.cpp +++ b/test/src/unit-element_access2.cpp @@ -187,7 +187,6 @@ TEST_CASE("element access 2") CHECK(j.value("_", 12.34) == Approx(12.34)); CHECK(j.value("_", json({{"foo", "bar"}})) == json({{"foo", "bar"}})); CHECK(j.value("_", json({10, 100})) == json({10, 100})); - CHECK(j.value("_", std::move("default_value")) == "default_value"); CHECK(j_const.value("_", 2) == 2); CHECK(j_const.value("_", 2u) == 2u); @@ -196,7 +195,6 @@ TEST_CASE("element access 2") CHECK(j_const.value("_", 12.34) == Approx(12.34)); CHECK(j_const.value("_", json({{"foo", "bar"}})) == json({{"foo", "bar"}})); CHECK(j_const.value("_", json({10, 100})) == json({10, 100})); - CHECK(j_const.value("_", std::move("default_value")) == "default_value"); } SECTION("access on non-object type")