1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:47:44 +00:00

AK: Zero previous pointer *after* fixing the insertion list in HashTable

This commit is contained in:
Hendiadyoin1 2022-06-23 17:00:41 +02:00 committed by Idan Horowitz
parent f03838fac8
commit 5bf84a5b0e
2 changed files with 10 additions and 1 deletions

View file

@ -300,3 +300,12 @@ BENCHMARK_CASE(benchmark_thrashing)
table.remove(i);
}
}
TEST_CASE(reinsertion)
{
OrderedHashTable<String> map;
map.set("ytidb::LAST_RESULT_ENTRY_KEY");
map.set("__sak");
map.remove("__sak");
map.set("__sak");
}