Skip to content

Commit

Permalink
Please uncrustify.
Browse files Browse the repository at this point in the history
Signed-off-by: Michel Hidalgo <[email protected]>
  • Loading branch information
hidmic committed Sep 24, 2020
1 parent b7532c9 commit d766e41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test_rmw_implementation/test/test_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ class CLASSNAME (TestClient, RMW_IMPLEMENTATION) : public ::testing::Test
rmw_init_options_t init_options = rmw_get_zero_initialized_init_options();
rmw_ret_t ret = rmw_init_options_init(&init_options, rcutils_get_default_allocator());
ASSERT_EQ(RMW_RET_OK, ret) << rcutils_get_error_string().str;
OSRF_TESTING_TOOLS_CPP_SCOPE_EXIT({
OSRF_TESTING_TOOLS_CPP_SCOPE_EXIT(
{
rmw_ret_t ret = rmw_init_options_fini(&init_options);
EXPECT_EQ(RMW_RET_OK, ret) << rmw_get_error_string().str;
});
Expand Down
3 changes: 2 additions & 1 deletion test_rmw_implementation/test/test_service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ class CLASSNAME (TestService, RMW_IMPLEMENTATION) : public ::testing::Test
rmw_init_options_t init_options = rmw_get_zero_initialized_init_options();
rmw_ret_t ret = rmw_init_options_init(&init_options, rcutils_get_default_allocator());
ASSERT_EQ(RMW_RET_OK, ret) << rcutils_get_error_string().str;
OSRF_TESTING_TOOLS_CPP_SCOPE_EXIT({
OSRF_TESTING_TOOLS_CPP_SCOPE_EXIT(
{
rmw_ret_t ret = rmw_init_options_fini(&init_options);
EXPECT_EQ(RMW_RET_OK, ret) << rmw_get_error_string().str;
});
Expand Down

0 comments on commit d766e41

Please sign in to comment.