clang-format: fix pointer alignment, sort using
Change-Id: Id433d0ecc10c62807594b3a637e591045223faa6
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/test/helpers.hpp b/test/helpers.hpp
index a06eb2e..6952c52 100644
--- a/test/helpers.hpp
+++ b/test/helpers.hpp
@@ -34,9 +34,9 @@
* @param[in] properties - an ordered list of expected property updates.
* @param[in] index - a pointer to a valid integer in a surviving scope.
*/
-void SetupDbusObject(sdbusplus::SdBusMock *sdbus_mock, bool defer,
- const std::string &path, const std::string &intf,
- const std::vector<std::string> &properties, int *index)
+void SetupDbusObject(sdbusplus::SdBusMock* sdbus_mock, bool defer,
+ const std::string& path, const std::string& intf,
+ const std::vector<std::string>& properties, int* index)
{
EXPECT_CALL(*sdbus_mock,
sd_bus_add_object_vtable(IsNull(), NotNull(), StrEq(path),
@@ -57,8 +57,8 @@
sd_bus_emit_properties_changed_strv(IsNull(), StrEq(path),
StrEq(intf), NotNull()))
.Times(properties.size())
- .WillRepeatedly(Invoke([=](sd_bus *bus, const char *path,
- const char *interface, char **names) {
+ .WillRepeatedly(Invoke([=](sd_bus* bus, const char* path,
+ const char* interface, char** names) {
EXPECT_STREQ(properties[(*index)++].c_str(), names[0]);
return 0;
}));