Skip to content

Commit

Permalink
Change the test assertion to number
Browse files Browse the repository at this point in the history
  • Loading branch information
saikishor committed Oct 11, 2024
1 parent e1e2dc8 commit 1ae86a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller_manager/test/test_load_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ TEST_F(TestLoadController, can_set_and_get_non_default_update_rate)
EXPECT_EQ(
lifecycle_msgs::msg::State::PRIMARY_STATE_INACTIVE, controller_if->get_lifecycle_state().id());

EXPECT_EQ(cm_->get_update_rate(), controller_if->get_update_rate());
EXPECT_EQ(100u, controller_if->get_update_rate());
}

class TestLoadedController : public TestLoadController
Expand Down

0 comments on commit 1ae86a3

Please sign in to comment.