Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Apr 18, 2024
1 parent c5161fd commit cfabbab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace autoware_control_center
{

AutowareControlCenter::AutowareControlCenter(const rclcpp::NodeOptions & options)
: LifecycleNode("autoware_control_center", options),lease_duration_{0}
: LifecycleNode("autoware_control_center", options), lease_duration_{0}
{
// log info
RCLCPP_INFO(get_logger(), "AutowareControlCenter is initialized");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ TEST_F(AutowareControlCenterTest, DeregisterNode)
request_dereg->name_node = node_name;

auto result_dereg = client_dereg->async_send_request(request_dereg);
ret = rclcpp::spin_until_future_complete(autoware_control_center_, result_dereg, std::chrono::seconds(5));
ret = rclcpp::spin_until_future_complete(
autoware_control_center_, result_dereg, std::chrono::seconds(5));

ASSERT_EQ(ret, rclcpp::FutureReturnCode::SUCCESS);
auto result_dereg_payload = result_dereg.get();
Expand Down

0 comments on commit cfabbab

Please sign in to comment.