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: I267a17e007b99caed10aef060e7dd9a0bcc5fc2e
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/test/sensor_unittest.cpp b/test/sensor_unittest.cpp
index 15a4807..a1026cc 100644
--- a/test/sensor_unittest.cpp
+++ b/test/sensor_unittest.cpp
@@ -4,6 +4,7 @@
#include "sensor.hpp"
#include <gpioplus/test/handle.hpp>
+
#include <memory>
#include <utility>
@@ -61,8 +62,8 @@
EXPECT_CALL(env::mockEnv, get(StrEq("REMOVERCS_temp5")))
.WillOnce(Return(""));
- auto sensor =
- std::make_unique<sensor::Sensor>(sensorKey, hwmonio_mock.get(), path);
+ auto sensor = std::make_unique<sensor::Sensor>(sensorKey,
+ hwmonio_mock.get(), path);
EXPECT_FALSE(sensor == nullptr);
}
@@ -98,8 +99,8 @@
EXPECT_CALL(env::mockEnv, get(StrEq("REMOVERCS_temp5")))
.WillOnce(Return(""));
- auto sensor =
- std::make_unique<sensor::Sensor>(sensorKey, hwmonio_mock.get(), path);
+ auto sensor = std::make_unique<sensor::Sensor>(sensorKey,
+ hwmonio_mock.get(), path);
EXPECT_FALSE(sensor == nullptr);
}
@@ -125,8 +126,8 @@
EXPECT_CALL(env::mockEnv, get(StrEq("REMOVERCS_temp5")))
.WillOnce(Return(""));
- auto sensor =
- std::make_unique<sensor::Sensor>(sensorKey, hwmonio_mock.get(), path);
+ auto sensor = std::make_unique<sensor::Sensor>(sensorKey,
+ hwmonio_mock.get(), path);
EXPECT_FALSE(sensor == nullptr);
double startingValue = 1.0;