clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I0a1783b101aa4e7d4b80fd5e1fc1b2beb86c5caa
diff --git a/test/handler_mock.hpp b/test/handler_mock.hpp
index 580b043..9e9b71e 100644
--- a/test/handler_mock.hpp
+++ b/test/handler_mock.hpp
@@ -31,7 +31,6 @@
class HandlerMock : public HandlerInterface
{
-
public:
~HandlerMock() = default;
diff --git a/test/handler_unittest.cpp b/test/handler_unittest.cpp
index 9656364..b385321 100644
--- a/test/handler_unittest.cpp
+++ b/test/handler_unittest.cpp
@@ -18,13 +18,14 @@
#include <systemd/sd-bus.h>
+#include <nlohmann/json.hpp>
+#include <sdbusplus/message.hpp>
+#include <sdbusplus/test/sdbus_mock.hpp>
+
#include <charconv>
#include <filesystem>
#include <fstream>
#include <functional>
-#include <nlohmann/json.hpp>
-#include <sdbusplus/message.hpp>
-#include <sdbusplus/test/sdbus_mock.hpp>
#include <string>
#include <tuple>
@@ -142,8 +143,7 @@
const std::string& config = "") :
Handler(config),
mock_(&mock)
- {
- }
+ {}
protected:
sdbusplus::bus_t getDbus() const override
diff --git a/test/helper.cpp b/test/helper.cpp
index d2c6169..191c944 100644
--- a/test/helper.cpp
+++ b/test/helper.cpp
@@ -15,6 +15,7 @@
#include "helper.hpp"
#include <ipmid/api-types.hpp>
+
#include <optional>
#include <span>
#include <utility>
diff --git a/test/helper.hpp b/test/helper.hpp
index d7be3d1..c76fc37 100644
--- a/test/helper.hpp
+++ b/test/helper.hpp
@@ -17,6 +17,7 @@
#include "handler_mock.hpp"
#include <ipmid/api-types.hpp>
+
#include <span>
#include <utility>