@@ -371,7 +371,7 @@ TEST_F(
371371 &this ->node , &allocator, fqdn.c_str (), false ,
372372 &topic_endpoint_info_array_pub);
373373 EXPECT_EQ (ret, RCL_RET_OK) << rcl_get_error_string ().str ;
374- EXPECT_EQ (topic_endpoint_info_array_pub.count , 1u ) << " Expected one publisher" ;
374+ EXPECT_EQ (topic_endpoint_info_array_pub.size , 1u ) << " Expected one publisher" ;
375375 rmw_topic_endpoint_info_t topic_endpoint_info_pub = topic_endpoint_info_array_pub.info_array [0 ];
376376 EXPECT_STREQ (topic_endpoint_info_pub.node_name , this ->test_graph_node_name );
377377 EXPECT_STREQ (topic_endpoint_info_pub.node_namespace , " /" );
@@ -384,7 +384,7 @@ TEST_F(
384384 &this ->node , &allocator, fqdn.c_str (), false ,
385385 &topic_endpoint_info_array_sub);
386386 EXPECT_EQ (ret, RCL_RET_OK) << rcl_get_error_string ().str ;
387- EXPECT_EQ (topic_endpoint_info_array_sub.count , 1u ) << " Expected one subscription" ;
387+ EXPECT_EQ (topic_endpoint_info_array_sub.size , 1u ) << " Expected one subscription" ;
388388 rmw_topic_endpoint_info_t topic_endpoint_info_sub = topic_endpoint_info_array_sub.info_array [0 ];
389389 EXPECT_STREQ (topic_endpoint_info_sub.node_name , this ->test_graph_node_name );
390390 EXPECT_STREQ (topic_endpoint_info_sub.node_namespace , " /" );
0 commit comments