From e23be5559bf3d07305b48fba429343d6e9d8069a Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 10 Dec 2020 19:26:42 +0000 Subject: Use test values --- libdbpp/unittests/testConnectionPool.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libdbpp/unittests/testConnectionPool.cpp b/libdbpp/unittests/testConnectionPool.cpp index 7ef6586..5ad0121 100644 --- a/libdbpp/unittests/testConnectionPool.cpp +++ b/libdbpp/unittests/testConnectionPool.cpp @@ -31,9 +31,13 @@ BOOST_AUTO_TEST_CASE(basic) } { auto c1 = pool.get(); + BOOST_REQUIRE(c1); auto c2 = pool.get(); + BOOST_REQUIRE(c2); auto c3 = pool.get(); + BOOST_REQUIRE(c3); auto c4 = pool.get(); + BOOST_REQUIRE(c4); BOOST_REQUIRE_EQUAL(4, pool.inUseCount()); } BOOST_REQUIRE_EQUAL(0, pool.inUseCount()); -- cgit v1.2.3