This reverts commit a70c33a68e, reversing
changes made to f515f9c03a.
This commit is contained in:
Florian committed 2018-03-19 21:26:21 +01:00
1 parent a70c33a68e
commit be5d61993d
220 files changed
+29 -26968

No files matched your search

-19
View File
@@ -1,19 +0,0 @@
// ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2018
// MIT License
#include <ArduinoJson.h>
#include <catch.hpp>
using namespace Catch::Matchers;
TEST_CASE("JsonObject::get()") {
DynamicJsonBuffer jb;
JsonObject& obj = jb.createObject();
SECTION("GetConstCharPointer_GivenStringLiteral") {
obj.set("hello", "world");
const char* value = obj.get<const char*>("hello");
REQUIRE_THAT(value, Equals("world"));
}
}