Remove IsWriteableString

This commit is contained in:
Benoit Blanchon
2021-11-12 15:28:33 +01:00
parent bd42b9638a
commit 0429016ff1
4 changed files with 42 additions and 70 deletions

View File

@ -135,20 +135,6 @@ TEST_CASE("Writer<custom_string>") {
REQUIRE("ABCD" == output);
}
TEST_CASE("IsWriteableString") {
SECTION("std::string") {
REQUIRE(IsWriteableString<std::string>::value == true);
}
SECTION("custom_string") {
REQUIRE(IsWriteableString<custom_string>::value == true);
}
SECTION("basic_string<wchar_t>") {
REQUIRE(IsWriteableString<std::basic_string<wchar_t> >::value == false);
}
}
TEST_CASE("serializeJson(doc, String)") {
StaticJsonDocument<1024> doc;
doc["hello"] = "world";