Allocate slot before key

This commit is contained in:
Benoit Blanchon
2024-08-23 15:27:46 +02:00
parent 83516e1740
commit 386105be90
5 changed files with 13 additions and 13 deletions

View File

@ -358,7 +358,7 @@ TEST_CASE("MemberProxy under memory constraints") {
REQUIRE(doc.size() == 0);
REQUIRE(doc.overflowed() == true);
REQUIRE(spy.log() == AllocatorLog{
AllocateFail(sizeofString("hello")),
AllocateFail(sizeofPool()),
});
}
}