Skip to content

Commit

Permalink
prefix node names with a dash to separate it from the empty line sepa…
Browse files Browse the repository at this point in the history
…rating the results from separate queries
  • Loading branch information
dirk-thomas committed Mar 30, 2018
1 parent 9d1b3fe commit 19946c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_rclcpp/test/node_name_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ int main(int argc, char ** argv)
printf("\n");
auto names = node->get_node_graph_interface()->get_node_names();
for (auto it : names) {
printf("%s\n", it.c_str());
printf("- %s\n", it.c_str());
if (argc >= 2 && it == argv[1]) {
printf(" found expected node name\n");
rc = 0;
Expand Down

0 comments on commit 19946c4

Please sign in to comment.