Skip to content

Commit

Permalink
fix codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
Cakem1x committed Jul 31, 2024
1 parent 26d4b35 commit d89350d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/msg_cache_unittest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@ void fillCacheEasy(message_filters::Cache<Msg> & cache, unsigned int start, unsi
TEST(Cache, emptySurroundingInterval)
{
message_filters::Cache<Msg> cache(10);
const std::vector<std::shared_ptr<Msg const> > interval_data = cache.getSurroundingInterval(rclcpp::Time(5, 0), rclcpp::Time(9, 0));
const std::vector<std::shared_ptr<Msg const>> interval_data = cache.getSurroundingInterval(
rclcpp::Time(
5,
0), rclcpp::Time(
9, 0));

EXPECT_EQ(interval_data.size(), (unsigned int) 0); // empty cache shall return empty interval
}

Expand Down

0 comments on commit d89350d

Please sign in to comment.