Index: test/cctest/test-hashmap.cc |
=================================================================== |
--- test/cctest/test-hashmap.cc (revision 1783) |
+++ test/cctest/test-hashmap.cc (working copy) |
@@ -43,7 +43,7 @@ |
IntSet() : map_(DefaultMatchFun) {} |
void Insert(int x) { |
- ASSERT(x != 0); // 0 corresponds to (void*)NULL - illegal key value |
+ CHECK(x != 0); // 0 corresponds to (void*)NULL - illegal key value |
HashMap::Entry* p = map_.Lookup(reinterpret_cast<void*>(x), Hash(x), true); |
CHECK(p != NULL); // insert is set! |
CHECK_EQ(reinterpret_cast<void*>(x), p->key); |