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/sensor_unittest.cpp b/test/sensor_unittest.cpp
index a1026cc..dd57595 100644
--- a/test/sensor_unittest.cpp
+++ b/test/sensor_unittest.cpp
@@ -90,8 +90,8 @@
EXPECT_CALL(gMock, build(StrEq("chipA"), StrEq("5")))
.WillOnce(Invoke([&](const std::string&, const std::string&) {
- return std::move(handleMock);
- }));
+ return std::move(handleMock);
+ }));
/* Always calls GAIN and OFFSET, can use ON_CALL instead of EXPECT_CALL */
EXPECT_CALL(env::mockEnv, get(StrEq("GAIN_temp5"))).WillOnce(Return(""));