Skip to content

Commit

Permalink
Add missing fini calls
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Perez <[email protected]>
  • Loading branch information
Blast545 committed May 27, 2020
1 parent 88f93b0 commit cc6e0bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rcl/test/rcl/test_init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,4 +297,7 @@ TEST_F(CLASSNAME(TestRCLFixture, RMW_IMPLEMENTATION), test_rcl_init_options_acce
rcl_init_options_t init_options_dst = rcl_get_zero_initialized_init_options();
EXPECT_EQ(RCL_RET_OK, rcl_init_options_copy(&init_options, &init_options_dst));
EXPECT_EQ(RCL_RET_ALREADY_INIT, rcl_init_options_copy(&init_options, &init_options_dst));

EXPECT_EQ(RCL_RET_OK, rcl_init_options_fini(&init_options));
EXPECT_EQ(RCL_RET_OK, rcl_init_options_fini(&init_options_dst));
}

0 comments on commit cc6e0bb

Please sign in to comment.