Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <methylDragon@gmail.com>
  • Loading branch information
methylDragon committed Nov 3, 2022
1 parent a0091d0 commit b431888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclcpp/test/rclcpp/test_time.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ TEST_F(TestClockValid, validity) {
EXPECT_FALSE(uninit_clock.is_valid());
RCLCPP_EXPECT_THROW_EQ(
uninit_clock.wait_for_valid(rclcpp::Duration(0, static_cast<uint32_t>(1e7))),
std::runtime_error("clock cannot be waited on as its clock_type is RCL_CLOCK_UNINITIALIZED"));
std::runtime_error("clock cannot be waited on as it is not rcl_clock_valid"));
}

TEST_F(TestClockValid, invalid_timeout) {
Expand Down

0 comments on commit b431888

Please sign in to comment.