clang-format: copy latest and re-format
clang-format-17 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: Ibc0976e16acb6163431698832a461e9fc7335448
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/test/handler.cpp b/src/test/handler.cpp
index aad6c8a..3671977 100644
--- a/src/test/handler.cpp
+++ b/src/test/handler.cpp
@@ -80,10 +80,9 @@
}));
ASSERT_EQ(interfaceMaps.size(), 1);
- auto entry = std::find_if(interfaceMaps.begin(), interfaceMaps.end(),
- [](const auto& i) {
- return "test_object_path" == i.first;
- });
+ auto entry = std::find_if(
+ interfaceMaps.begin(), interfaceMaps.end(),
+ [](const auto& i) { return "test_object_path" == i.first; });
ASSERT_NE(entry, interfaceMap.end());
for (const auto& [_, interfaces] : entry->second)
{
@@ -98,10 +97,9 @@
addObjectMapResult(interfaceMaps, "test_object_path",
std::pair<std::string, InterfaceNames>(
"test_object_connection_1", {"test_interface_2"}));
- entry = std::find_if(interfaceMaps.begin(), interfaceMaps.end(),
- [](const auto& i) {
- return "test_object_path" == i.first;
- });
+ entry = std::find_if(
+ interfaceMaps.begin(), interfaceMaps.end(),
+ [](const auto& i) { return "test_object_path" == i.first; });
ASSERT_NE(entry, interfaceMaps.end());
for (const auto& [_, interfaces] : entry->second)
{