mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-29 08:34:39 +08:00
Replace assert in test with EXPECT_TRUE
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user