Fixes StringViewDictionary::Remove(u32)
continuous-integration/drone/push Build is failing

This commit is contained in:
Deukhoofd committed 2022-05-16 17:03:29 +02:00
1 parent 9dc7a0c6e3
commit dd2169bb02
2 files changed
+8 -1

No files matched your search

+2
View File
@@ -116,6 +116,8 @@ TEST_CASE("Create StringViewDictionary, insert values, get values by hash") {
dic.Insert("zet"_cnc, 2000);
CHECK(dic.GetFromHash("bar"_cnc) == 100);
dic.Remove("zet"_cnc.GetHash());
CHECK(dic.Count() == 2);
}
#endif