forked from bblanchon/ArduinoJson
JsonVariantTests pass
This commit is contained in:
@ -378,7 +378,7 @@ TEST_CASE("JsonVariant::set() releases the previous value") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
SECTION("float") {
|
SECTION("float") {
|
||||||
v.set(1.2);
|
v.set(1.2f);
|
||||||
REQUIRE(spy.log() == AllocatorLog{
|
REQUIRE(spy.log() == AllocatorLog{
|
||||||
Deallocate(sizeofString("world")),
|
Deallocate(sizeofString("world")),
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user