diff --git a/rosbag2_storage_mcap/test/rosbag2_storage_mcap/test_message_definition_cache.cpp b/rosbag2_storage_mcap/test/rosbag2_storage_mcap/test_message_definition_cache.cpp index 2b5a2e01f..01065a657 100644 --- a/rosbag2_storage_mcap/test/rosbag2_storage_mcap/test_message_definition_cache.cpp +++ b/rosbag2_storage_mcap/test/rosbag2_storage_mcap/test_message_definition_cache.cpp @@ -151,10 +151,12 @@ TEST(test_message_definition_cache, get_service_message_definitions) TEST(test_local_message_definition_source, throw_definition_not_found_for_unknown_msg) { MessageDefinitionCache source; - ASSERT_THROW({ source.get_full_text("rosbag2_test_msgdefs/msg/UnknownMessage"); }, - rosbag2_storage_mcap::internal::DefinitionNotFoundError); + ASSERT_THROW({ + source.get_full_text("rosbag2_test_msgdefs/msg/UnknownMessage"); + }, rosbag2_storage_mcap::internal::DefinitionNotFoundError); // Throw DefinitionNotFoundError for not found message definition package name - ASSERT_THROW({ source.get_full_text("not_found_msgdefs_pkg/msg/UnknownMessage"); }, - rosbag2_storage_mcap::internal::DefinitionNotFoundError); + ASSERT_THROW({ + source.get_full_text("not_found_msgdefs_pkg/msg/UnknownMessage"); + }, rosbag2_storage_mcap::internal::DefinitionNotFoundError); }