Skip to content

Commit

Permalink
Expect rmw_destroy_wait_set to ret RMW_RET_INVALID_ARGUMENT (#234)
Browse files Browse the repository at this point in the history
Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
  • Loading branch information
christophebedard authored Jun 13, 2024
1 parent ad9fca4 commit d412eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_rmw_implementation/test/test_wait_set.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ TEST_F(TestWaitSet, rmw_destroy_wait_set)
{
// Try to destroy a nullptr
rmw_ret_t ret = rmw_destroy_wait_set(nullptr);
EXPECT_EQ(ret, RMW_RET_ERROR) << rcutils_get_error_string().str;
EXPECT_EQ(ret, RMW_RET_INVALID_ARGUMENT) << rcutils_get_error_string().str;
rmw_reset_error();

// Created a valid wait set
Expand Down

0 comments on commit d412eaf

Please sign in to comment.