Replace assert in test with EXPECT_TRUE

This commit is contained in:
greg7mdp
2025-11-26 16:58:14 -05:00
parent fa5a89fe79
commit bed0081382
+1 -1
View File
@@ -110,7 +110,7 @@ TEST(THIS_TEST_NAME, Emplace) {
phmap::THIS_HASH_SET<Thing> hs;
hs.emplace(Thing(0, 1.25));
hs.emplace(0, 1.3);
assert(hs.find(Thing(0, 1.3)) != hs.end());
EXPECT_TRUE(hs.find(Thing(0, 1.3)) != hs.end());
}
} // namespace