diff options
-rw-r--r-- | libadhocutil/unittests/testResourcePool.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libadhocutil/unittests/testResourcePool.cpp b/libadhocutil/unittests/testResourcePool.cpp index f1b9c04..d11c0d0 100644 --- a/libadhocutil/unittests/testResourcePool.cpp +++ b/libadhocutil/unittests/testResourcePool.cpp @@ -95,6 +95,7 @@ BOOST_AUTO_TEST_CASE(get) BOOST_REQUIRE(r2.get()); auto r1a = r2; + BOOST_CHECK_EQUAL(2, r1a.handleCount()); r1a = r1; BOOST_REQUIRE_EQUAL(2, pool.inUseCount()); BOOST_REQUIRE_EQUAL(0, pool.availableCount()); |