Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
saikishor committed Jan 2, 2025
1 parent a01be64 commit 4403195
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hardware_interface/test/test_handle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ TEST(TestHandle, name_getters_work)
TEST(TestHandle, value_methods_throw_for_nullptr)
{
CommandInterface handle{JOINT_NAME, FOO_INTERFACE};
double value;
EXPECT_ANY_THROW(handle.get_value(value));
EXPECT_ANY_THROW(handle.get_value());
EXPECT_ANY_THROW(bool status = handle.set_value(0.0));
}

Expand Down

0 comments on commit 4403195

Please sign in to comment.