clang-format: always break template declarations
To better match the defined openbmc style.
Change-Id: I68cda43857768bae4c904c367942cb1f0efa3e0c
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/test/message/append.cpp b/test/message/append.cpp
index 6485d99..de40ef6 100644
--- a/test/message/append.cpp
+++ b/test/message/append.cpp
@@ -42,7 +42,8 @@
nullptr, nullptr, nullptr, nullptr);
}
- template <typename T> void expect_basic(char type, T val)
+ template <typename T>
+ void expect_basic(char type, T val)
{
EXPECT_CALL(mock,
sd_bus_message_append_basic(
diff --git a/test/message/read.cpp b/test/message/read.cpp
index 07bc984..14da902 100644
--- a/test/message/read.cpp
+++ b/test/message/read.cpp
@@ -52,7 +52,8 @@
.WillOnce(Return(ret));
}
- template <typename T> void expect_basic(char type, T val)
+ template <typename T>
+ void expect_basic(char type, T val)
{
EXPECT_CALL(mock, sd_bus_message_read_basic(nullptr, type, testing::_))
.WillOnce(DoAll(AssignReadVal<T>(val), Return(0)));
diff --git a/test/message/types.cpp b/test/message/types.cpp
index a6df2f4..327fe71 100644
--- a/test/message/types.cpp
+++ b/test/message/types.cpp
@@ -3,7 +3,8 @@
#include <gtest/gtest.h>
-template <typename... Args> auto dbus_string(Args&&... args)
+template <typename... Args>
+auto dbus_string(Args&&... args)
{
return std::string(sdbusplus::utility::tuple_to_array(
sdbusplus::message::types::type_id<Args...>())