| Index: Source/heap/tests/HeapTest.cpp
|
| diff --git a/Source/heap/tests/HeapTest.cpp b/Source/heap/tests/HeapTest.cpp
|
| index 2f21ae81b7752b132cad671956a60fbddbe58baf..f25f0f944c27925baed9b604ac8197b03b76961f 100644
|
| --- a/Source/heap/tests/HeapTest.cpp
|
| +++ b/Source/heap/tests/HeapTest.cpp
|
| @@ -1146,15 +1146,18 @@ void HeapTester::hashSetMembers()
|
| EXPECT_TRUE(afterAdding1000.totalObjectSpace() > afterGC2.totalObjectSpace());
|
|
|
| EXPECT_EQ(set->size(), 1000);
|
| - int i = 0, ninetyNines = 0;
|
| + int i = 0, ninetyNines = 0, threeSixties = 0;
|
| for (HeapSet::iterator it(set->begin(&set)), end(set->end(&set)); it != end; ++it) {
|
| HandleScope forScope;
|
| - if (Handle<IntWrapper>(*it.get())->value() == 99)
|
| + if (it.get()->value() == 99)
|
| ninetyNines++;
|
| + if (it->value() == 360)
|
| + threeSixties++;
|
| i++;
|
| }
|
| EXPECT_EQ(i, 1000);
|
| EXPECT_EQ(ninetyNines, 1);
|
| + EXPECT_EQ(threeSixties, 1);
|
|
|
| // Equality is by underlying pointer, so there are two different
|
| // IntWrappers in there now that contain '1'. We add one of them
|
|
|