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/associations.cpp b/src/test/associations.cpp
index fca0ee1..62aefab 100644
--- a/src/test/associations.cpp
+++ b/src/test/associations.cpp
@@ -499,10 +499,9 @@
ASSERT_EQ(associationData.size(), 2);
{
- auto ad = std::find_if(associationData.begin(), associationData.end(),
- [](const auto& ad) {
- return std::get<0>(ad) == "ownerA";
- });
+ auto ad = std::find_if(
+ associationData.begin(), associationData.end(),
+ [](const auto& ad) { return std::get<0>(ad) == "ownerA"; });
ASSERT_NE(ad, associationData.end());
auto& a = std::get<1>(*ad);
@@ -511,10 +510,9 @@
ASSERT_EQ(std::get<2>(a), "pathA");
}
{
- auto ad = std::find_if(associationData.begin(), associationData.end(),
- [](const auto& ad) {
- return std::get<0>(ad) == "ownerB";
- });
+ auto ad = std::find_if(
+ associationData.begin(), associationData.end(),
+ [](const auto& ad) { return std::get<0>(ad) == "ownerB"; });
ASSERT_NE(ad, associationData.end());
auto& a = std::get<1>(*ad);