Modify function signature for unit test.
sdbusplus changed the function signature of
sd_bus_emit_properties_changed_strv. Modify unit test according.
Signed-off-by: Hao Jiang <jianghao@google.com>
Change-Id: I372543425db822ad4c8c48b5f93a72f291d69d11
diff --git a/test/helpers.hpp b/test/helpers.hpp
index 10e8cd7..1b5486e 100644
--- a/test/helpers.hpp
+++ b/test/helpers.hpp
@@ -61,11 +61,12 @@
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) {
- EXPECT_STREQ(properties[(*index)++].c_str(), names[0]);
- return 0;
- }));
+ .WillRepeatedly(
+ Invoke([=](sd_bus* bus, const char* path, const char* interface,
+ const char** names) {
+ EXPECT_STREQ(properties[(*index)++].c_str(), names[0]);
+ return 0;
+ }));
}
return;