summaryrefslogtreecommitdiffstats
path: root/lib/src
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src')
-rw-r--r--lib/src/test/test_khash.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/src/test/test_khash.cc b/lib/src/test/test_khash.cc
index 70b2f2258..da6b62071 100644
--- a/lib/src/test/test_khash.cc
+++ b/lib/src/test/test_khash.cc
@@ -158,11 +158,11 @@ TEST_F (KHashTest, Collisions)
Key key2 = { .x = 11 };
k = kh_put_test_map (map, &key1, &ret);
- EXPECT_EQ (ret, 1);
+ ASSERT_EQ (ret, 1);
kh_val (map, k) = 15u;
k = kh_put_test_map (map, &key2, &ret);
- EXPECT_EQ (ret, 1);
+ ASSERT_EQ (ret, 1);
kh_val (map, k) = 27u;
k = kh_get_test_map (map, &key1);