mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-20 22:12:31 +02:00
Preallocate pool list
This commit is contained in:
@ -57,8 +57,7 @@ TEST_CASE("ResourceManager::allocSlot()") {
|
||||
}
|
||||
|
||||
SECTION("Returns null if pool allocation fails") {
|
||||
TimebombAllocator allocator(1);
|
||||
ResourceManager resources(&allocator);
|
||||
ResourceManager resources(FailingAllocator::instance());
|
||||
|
||||
resources.allocSlot();
|
||||
|
||||
|
Reference in New Issue
Block a user