We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02539ff commit f2a553bCopy full SHA for f2a553b
rclrs/src/node/graph.rs
@@ -493,8 +493,7 @@ mod tests {
493
// Test that the graph has no publishers
494
let names_and_topics = node
495
.get_publisher_names_and_types_by_node(node_name, "")
496
- .unwrap();
497
-
+ .unwrap_or_else(|error| panic!("Failed to get publisher names and types: {}", error));
498
assert_eq!(names_and_topics.len(), 0);
499
500
let num_publishers = node.count_publishers("/test").unwrap();
0 commit comments