diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-08-04 19:48:20 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-08-04 19:48:20 +0100 |
commit | 3526af7ec50e46aaa73d038566f42554f70f27b0 (patch) | |
tree | 2591708ced4743213f77c9aa4ee8933dc0d1b333 /libpqpp/unittests/testpq.cpp | |
parent | Pedantic only with gcc (diff) | |
download | libdbpp-postgresql-3526af7ec50e46aaa73d038566f42554f70f27b0.tar.bz2 libdbpp-postgresql-3526af7ec50e46aaa73d038566f42554f70f27b0.tar.xz libdbpp-postgresql-3526af7ec50e46aaa73d038566f42554f70f27b0.zip |
Fix a lot of clang-tidy warningsHEADlibdbpp-postgresql-1.4.10main
Diffstat (limited to 'libpqpp/unittests/testpq.cpp')
-rw-r--r-- | libpqpp/unittests/testpq.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpqpp/unittests/testpq.cpp b/libpqpp/unittests/testpq.cpp index d610e41..1307792 100644 --- a/libpqpp/unittests/testpq.cpp +++ b/libpqpp/unittests/testpq.cpp @@ -489,7 +489,7 @@ BOOST_AUTO_TEST_CASE(bulkPerfTest) int64_t tot = 0; for (const auto & [a, b, c, d, e, f] : sel->as<int64_t, double, std::string_view, boost::posix_time::time_duration, - boost::posix_time::ptime, bool>()) { + boost::posix_time::ptime, bool>()) { tot += a + static_cast<int64_t>(b) + static_cast<int64_t>(c.length()) + d.hours() + e.time_of_day().hours() + f; } BOOST_REQUIRE_EQUAL(tot, 1013265); @@ -509,7 +509,7 @@ BOOST_AUTO_TEST_CASE(connfail) } } -BOOST_AUTO_TEST_CASE(ssl) +BOOST_AUTO_TEST_CASE(ssl, *boost::unit_test::disabled()) { auto conn = DB::ConnectionFactory::createNew( "postgresql", "host=randomdan.homeip.net user=gentoo dbname=postgres sslmode=require"); |