From 9da009ed8d16d73449c579c848893a18d974fd58 Mon Sep 17 00:00:00 2001 From: Martin Idel Date: Mon, 3 Sep 2018 09:10:40 +0200 Subject: [PATCH] GH-64 Fix asserting typesupport in test (varies on architectures) --- rosbag2/test/rosbag2/rosbag2_typesupport_helpers_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rosbag2/test/rosbag2/rosbag2_typesupport_helpers_test.cpp b/rosbag2/test/rosbag2/rosbag2_typesupport_helpers_test.cpp index dc88b7bf3d..1e1668031b 100644 --- a/rosbag2/test/rosbag2/rosbag2_typesupport_helpers_test.cpp +++ b/rosbag2/test/rosbag2/rosbag2_typesupport_helpers_test.cpp @@ -56,5 +56,5 @@ TEST(TypesupportHelpersTest, returns_c_type_info_for_valid_library) { auto string_typesupport = rosbag2::get_typesupport("std_msgs/String"); EXPECT_THAT(std::string(string_typesupport->typesupport_identifier), - StrEq("rosidl_typesupport_cpp")); + ContainsRegex("rosidl_typesupport")); }