clang-format: fix pointer alignment, sort using
Change-Id: Id433d0ecc10c62807594b3a637e591045223faa6
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/test/sensor_host_unittest.cpp b/test/sensor_host_unittest.cpp
index 99d4924..1c69a20 100644
--- a/test/sensor_host_unittest.cpp
+++ b/test/sensor_host_unittest.cpp
@@ -29,7 +29,7 @@
auto bus_mock = sdbusplus::get_mocked_new(&sdbus_mock);
std::string name = "fleeting0";
int64_t timeout = 1;
- const char *objPath = "/asdf/asdf0";
+ const char* objPath = "/asdf/asdf0";
bool defer = false;
std::string interface = "xyz.openbmc_project.Sensor.Value";
@@ -62,7 +62,7 @@
auto bus_mock = sdbusplus::get_mocked_new(&sdbus_mock);
std::string name = "fleeting0";
int64_t timeout = 1;
- const char *objPath = "/asdf/asdf0";
+ const char* objPath = "/asdf/asdf0";
bool defer = false;
std::string interface = "xyz.openbmc_project.Sensor.Value";
@@ -83,7 +83,7 @@
HostSensor::CreateTemp(name, timeout, bus_mock, objPath, defer);
// Value is updated from dbus calls only (normally).
- HostSensor *hs = static_cast<HostSensor *>(s.get());
+ HostSensor* hs = static_cast<HostSensor*>(s.get());
int64_t new_value = 2;
ReadReturn r = hs->read();
@@ -92,8 +92,8 @@
EXPECT_CALL(sdbus_mock,
sd_bus_emit_properties_changed_strv(
IsNull(), StrEq(objPath), StrEq(interface), NotNull()))
- .WillOnce(Invoke([=](sd_bus *bus, const char *path,
- const char *interface, char **names) {
+ .WillOnce(Invoke([=](sd_bus* bus, const char* path,
+ const char* interface, char** names) {
EXPECT_STREQ("Value", names[0]);
return 0;
}));