Skip to content

Commit

Permalink
Address feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Brawner <brawner@gmail.com>
  • Loading branch information
brawner committed Aug 27, 2020
1 parent ba40534 commit 6d9012f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rcl_lifecycle/test/test_default_state_machine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -844,6 +844,11 @@ TEST_F(TestDefaultStateMachine, init_fini_maybe_fail) {
rcl_ret_t ret = rcl_lifecycle_init_default_state_machine(&sm, this->allocator);
if (RCL_RET_OK == ret) {
ret = rcl_lifecycle_state_machine_fini(&sm, this->node_ptr, this->allocator);
if (RCL_RET_OK != ret) {
EXPECT_EQ(
RCL_RET_OK,
rcl_lifecycle_state_machine_fini(&sm, this->node_ptr, this->allocator));
}
}
});
}

0 comments on commit 6d9012f

Please sign in to comment.