Skip to content

Commit

Permalink
Replace test to make it clearer what is tested in the PR
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Perez <jjperez@ekumenlabs.com>
  • Loading branch information
Blast545 committed Apr 21, 2020
1 parent ea90b90 commit ce8d867
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rcl/test/rcl/test_time.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,7 @@ TEST(CLASSNAME(rcl_time, RMW_IMPLEMENTATION), specific_clock_instantiation) {
EXPECT_EQ(ret, RCL_RET_OK) << rcl_get_error_string().str;
EXPECT_EQ(uninitialized_clock.type, RCL_CLOCK_UNINITIALIZED) <<
"Expected time source of type RCL_CLOCK_UNINITIALIZED";
ret = rcl_clock_fini(&uninitialized_clock);
EXPECT_EQ(ret, RCL_RET_INVALID_ARGUMENT) << rcl_get_error_string().str;
rcl_reset_error();
EXPECT_TRUE(rcutils_allocator_is_valid(&(uninitialized_clock.allocator)));
}
{
rcl_clock_t ros_clock;
Expand Down

0 comments on commit ce8d867

Please sign in to comment.