diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-08-16 16:29:06 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-08-16 16:29:06 +0100 |
commit | 0d97553a5e1d91edfc325f1d9f5cf8c8bdd6a496 (patch) | |
tree | a5869036a4b8109f7db71f8e3970d646622e5e8c /unittests/mockDefs.cpp | |
parent | Update branch names from master to main (diff) | |
download | netfs-gitfs-0d97553a5e1d91edfc325f1d9f5cf8c8bdd6a496.tar.bz2 netfs-gitfs-0d97553a5e1d91edfc325f1d9f5cf8c8bdd6a496.tar.xz netfs-gitfs-0d97553a5e1d91edfc325f1d9f5cf8c8bdd6a496.zip |
Fix-up all the clang-tidy warnings
Diffstat (limited to 'unittests/mockDefs.cpp')
-rw-r--r-- | unittests/mockDefs.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/unittests/mockDefs.cpp b/unittests/mockDefs.cpp index a144575..7856c2d 100644 --- a/unittests/mockDefs.cpp +++ b/unittests/mockDefs.cpp @@ -4,7 +4,6 @@ #include <definedDirs.h> #include <dryice.h> #include <filesystem> -#include <memory> #include <service.h> #include <string> #include <volume.h> @@ -24,13 +23,13 @@ GitFS::Test::Service::Service() : GitFS::Test::Client::Client() : s(getProxy<NetFS::ServicePrx>("Service")) { BOOST_TEST_REQUIRE(s); - s->ice_ping(); + BOOST_CHECK_NO_THROW(s->ice_ping()); } GitFS::Test::VolumeClient::VolumeClient() : v(s->connect("testrepo", "testauth")) { BOOST_TEST_REQUIRE(v); - v->ice_ping(); + BOOST_CHECK_NO_THROW(v->ice_ping()); } GitFS::Test::VolumeClient::~VolumeClient() |