summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/core/managed/ManagerTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core/managed/ManagerTest.cpp b/test/core/managed/ManagerTest.cpp
index d7c0c17..3d09fa1 100644
--- a/test/core/managed/ManagerTest.cpp
+++ b/test/core/managed/ManagerTest.cpp
@@ -503,13 +503,14 @@ TEST(Manager, fullyConnectedGraph)
constexpr int nElem = 64;
std::array<bool, nElem> a;
- Manager mgr(1);
+ Manager mgr;
{
Rooted<TestManaged> n = createFullyConnectedGraph(mgr, nElem, &a[0]);
for (bool v : a) {
ASSERT_TRUE(v);
}
}
+ mgr.sweep();
for (bool v : a) {
ASSERT_FALSE(v);