From 6ccac18fd4d250ecaf47e1596fb0b5ccd67bb16d Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Sat, 31 May 2025 18:34:07 +0200 Subject: [PATCH] Fix comments --- extras/tests/JsonDeserializer/errors.cpp | 2 +- extras/tests/JsonVariant/set.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/tests/JsonDeserializer/errors.cpp b/extras/tests/JsonDeserializer/errors.cpp index 35d3ca39..3fabe4d4 100644 --- a/extras/tests/JsonDeserializer/errors.cpp +++ b/extras/tests/JsonDeserializer/errors.cpp @@ -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()); SECTION("uint32_t should pass") { diff --git a/extras/tests/JsonVariant/set.cpp b/extras/tests/JsonVariant/set.cpp index aee1086a..07d91f6c 100644 --- a/extras/tests/JsonVariant/set.cpp +++ b/extras/tests/JsonVariant/set.cpp @@ -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; JsonDocument doc(&spy); JsonVariant variant = doc.to();