fix compiler warning
This commit is contained in:
parent
ef5690278b
commit
41573e3540
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ TEST_F(CLASSNAME(TestTimeFixture, RMW_IMPLEMENTATION), test_rcl_set_ros_time_ove
|
|||
assert_no_free_end();
|
||||
stop_memory_checking();
|
||||
EXPECT_EQ(ret, RCL_RET_OK) << rcl_get_error_string_safe();
|
||||
EXPECT_NE(query_now.nanoseconds, 0);
|
||||
EXPECT_NE(query_now.nanoseconds, 0u);
|
||||
// Compare to std::chrono::system_clock time (within a second).
|
||||
ret = rcl_get_time_point_now(&query_now);
|
||||
EXPECT_EQ(ret, RCL_RET_OK) << rcl_get_error_string_safe();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue