diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-03-29 10:34:05 -0400 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-03-29 10:34:46 -0400 |
commit | d1eac88d18ae7dd11033dba87b6aebb220da9064 (patch) | |
tree | 9744e38138ff853c53868d847f86e9ad58e9ac66 /src/test/callbackgroupgentest.cpp | |
parent | 1abcb06bedadfbd40b4ec6f7e5f6a95021df3c96 (diff) | |
download | phosphor-dbus-monitor-d1eac88d18ae7dd11033dba87b6aebb220da9064.tar.gz phosphor-dbus-monitor-d1eac88d18ae7dd11033dba87b6aebb220da9064.zip |
Enable clang-format
Fix up errors and enable clang-format during CI builds.
Change-Id: I4176b81f8b85a287af9354165e09ff66aeb9fb29
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'src/test/callbackgroupgentest.cpp')
-rw-r--r-- | src/test/callbackgroupgentest.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/test/callbackgroupgentest.cpp b/src/test/callbackgroupgentest.cpp index 3112295..fe760ec 100644 --- a/src/test/callbackgroupgentest.cpp +++ b/src/test/callbackgroupgentest.cpp @@ -8,12 +8,11 @@ using namespace phosphor::dbus::monitoring; #include "callbackgroupgentest.hpp" const std::array<std::vector<size_t>, 4> expectedGroups = {{ - {0, 1, 2, 3}, - {0, 1, 4}, - {2, 6, 7}, - {7}, - } -}; + {0, 1, 2, 3}, + {0, 1, 4}, + {2, 6, 7}, + {7}, +}}; TEST(CallbackGroupGenTest, GroupsSameSize) { @@ -25,7 +24,6 @@ TEST(CallbackGroupGenTest, GroupsSameContent) size_t i; for (i = 0; i < expectedGroups.size(); ++i) { - ASSERT_EQ(groups[i], - expectedGroups[i]); + ASSERT_EQ(groups[i], expectedGroups[i]); } } |