Chromium Code Reviews| Index: tests/HashTest.cpp |
| diff --git a/tests/HashTest.cpp b/tests/HashTest.cpp |
| index 848986162d673eb24a9b1460d12615c7dbe8e0f8..f53faaf8647ada92054f1f883b60646e321b7af9 100644 |
| --- a/tests/HashTest.cpp |
| +++ b/tests/HashTest.cpp |
| @@ -23,6 +23,8 @@ DEF_TEST(HashMap, r) { |
| map.set(3, 4.0); |
| REPORTER_ASSERT(r, map.count() == 1); |
| + REPORTER_ASSERT(r, map.approxBytesUsed() > 0); |
| + |
| double* found = map.find(3); |
| REPORTER_ASSERT(r, found); |
| REPORTER_ASSERT(r, *found == 4.0); |