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: I542db97d7dc7fe5b03ffedbbdbff968d4c1bb032
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/test/fanpwm_unittest.cpp b/test/fanpwm_unittest.cpp
index 0c34ab2..112f3e5 100644
--- a/test/fanpwm_unittest.cpp
+++ b/test/fanpwm_unittest.cpp
@@ -44,7 +44,7 @@
[=](sd_bus*, const char*, const char*, const char** names) {
EXPECT_STREQ(property.c_str(), names[0]);
return 0;
- }));
+ }));
}
return;
@@ -142,9 +142,9 @@
IsNull(), StrEq("asdf"), StrEq(FanPwmIntf), NotNull()))
.WillOnce(
Invoke([&](sd_bus*, const char*, const char*, const char** names) {
- EXPECT_EQ(0, strncmp("Target", names[0], 6));
- return 0;
- }));
+ EXPECT_EQ(0, strncmp("Target", names[0], 6));
+ return 0;
+ }));
EXPECT_EQ(target, f.target(target));
}