From b34d76532725c8a170a58c664eab664200b1d1dc Mon Sep 17 00:00:00 2001 From: Dirk Thomas Date: Fri, 29 Sep 2017 10:36:48 -0700 Subject: [PATCH] remove obsolete INDENT-OFF usage --- test_rclcpp/test/test_subscription.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/test_rclcpp/test/test_subscription.cpp b/test_rclcpp/test/test_subscription.cpp index 5f5f3172..e7512535 100644 --- a/test_rclcpp/test/test_subscription.cpp +++ b/test_rclcpp/test/test_subscription.cpp @@ -49,12 +49,10 @@ void wait_for_future( auto start_time = std::chrono::steady_clock::now(); future_ret = executor.spin_until_future_complete(future, timeout); auto elapsed_time = std::chrono::steady_clock::now() - start_time; - // *INDENT-OFF* - EXPECT_EQ(FutureReturnCode::SUCCESS, future_ret) - << "future failed to be set after: " - << std::chrono::duration_cast(elapsed_time).count() - << " milliseconds\n"; - // *INDENT-ON* + EXPECT_EQ(FutureReturnCode::SUCCESS, future_ret) << + "future failed to be set after: " << + std::chrono::duration_cast(elapsed_time).count() << + " milliseconds\n"; } TEST(CLASSNAME(test_subscription, RMW_IMPLEMENTATION), subscription_and_spinning) { @@ -370,9 +368,7 @@ TEST(CLASSNAME(test_subscription, RMW_IMPLEMENTATION), spin_before_subscription) TEST(CLASSNAME(test_subscription, RMW_IMPLEMENTATION), create_subscription_with_queue_size) { auto node = rclcpp::Node::make_shared("test_subscription"); - // *INDENT-OFF* auto callback = [](test_rclcpp::msg::UInt32::ConstSharedPtr) -> void {}; - // *INDENT-ON* auto subscriber = node->create_subscription( "test_subscription", 10, callback);