Enable clang-format
Fix up errors and enable clang-format during CI builds.
Change-Id: I4176b81f8b85a287af9354165e09ff66aeb9fb29
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/src/test/callbackgentest.cpp b/src/test/callbackgentest.cpp
index 77fe60a..cda665d 100644
--- a/src/test/callbackgentest.cpp
+++ b/src/test/callbackgentest.cpp
@@ -9,15 +9,12 @@
#include "callbackgentest.hpp"
-const std::array<std::tuple<std::string, size_t>, 4> expectedCallbacks =
-{
- {
- std::tuple<std::string, size_t>{"int32_t", 0},
- std::tuple<std::string, size_t>{"int32_t", 0},
- std::tuple<std::string, size_t>{"std::string", 1},
- std::tuple<std::string, size_t>{"std::string", 2},
- }
-};
+const std::array<std::tuple<std::string, size_t>, 4> expectedCallbacks = {{
+ std::tuple<std::string, size_t>{"int32_t", 0},
+ std::tuple<std::string, size_t>{"int32_t", 0},
+ std::tuple<std::string, size_t>{"std::string", 1},
+ std::tuple<std::string, size_t>{"std::string", 2},
+}};
TEST(CallbackGenTest, CallbacksSameSize)
{
@@ -29,7 +26,6 @@
size_t i;
for (i = 0; i < expectedCallbacks.size(); ++i)
{
- ASSERT_EQ(callbacks[i],
- expectedCallbacks[i]);
+ ASSERT_EQ(callbacks[i], expectedCallbacks[i]);
}
}