Index: test/cctest/test-decls.cc |
diff --git a/test/cctest/test-decls.cc b/test/cctest/test-decls.cc |
index 824c4e764a2b8ebf9f5b8cee64d30d357ddc4869..d379fbbc7faa8bf1b80fdcbbcb3600055dbf38b5 100644 |
--- a/test/cctest/test-decls.cc |
+++ b/test/cctest/test-decls.cc |
@@ -161,6 +161,7 @@ void DeclarationContext::Check(const char* source, |
CHECK_EQ(value, catcher.Exception()); |
} |
} |
+ HEAP->CollectAllAvailableGarbage(); // Clean slate for the next test. |
} |