Skip to content

Commit bed0081

Browse files
committed
Replace assert in test with EXPECT_TRUE
1 parent fa5a89f commit bed0081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/node_hash_set_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ TEST(THIS_TEST_NAME, Emplace) {
110110
phmap::THIS_HASH_SET<Thing> hs;
111111
hs.emplace(Thing(0, 1.25));
112112
hs.emplace(0, 1.3);
113-
assert(hs.find(Thing(0, 1.3)) != hs.end());
113+
EXPECT_TRUE(hs.find(Thing(0, 1.3)) != hs.end());
114114
}
115115

116116
} // namespace

0 commit comments

Comments
 (0)