forked from bblanchon/ArduinoJson
Fix comments
This commit is contained in:
@ -121,7 +121,7 @@ TEST_CASE("deserializeJson() returns NoMemory if string length overflows") {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("deserializeJson() returns NoMemory if extension allocation fails") {
|
TEST_CASE("deserializeJson() returns NoMemory if 8-bit slot allocation fails") {
|
||||||
JsonDocument doc(FailingAllocator::instance());
|
JsonDocument doc(FailingAllocator::instance());
|
||||||
|
|
||||||
SECTION("uint32_t should pass") {
|
SECTION("uint32_t should pass") {
|
||||||
|
@ -393,7 +393,7 @@ TEST_CASE("JsonVariant::set() releases the previous value") {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("JsonVariant::set() reuses extension slot") {
|
TEST_CASE("JsonVariant::set() reuses 8-bit slot") {
|
||||||
SpyingAllocator spy;
|
SpyingAllocator spy;
|
||||||
JsonDocument doc(&spy);
|
JsonDocument doc(&spy);
|
||||||
JsonVariant variant = doc.to<JsonVariant>();
|
JsonVariant variant = doc.to<JsonVariant>();
|
||||||
|
Reference in New Issue
Block a user