Skip to content

Commit

Permalink
Update parser_urdf_TEST.cc and fixed mistake in test
Browse files Browse the repository at this point in the history
Signed-off-by: Aditya Agrawal <[email protected]>
  • Loading branch information
aagrawal05 authored Apr 5, 2024
1 parent 3fffe4a commit ab47435
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/parser_urdf_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2505,12 +2505,12 @@ TEST(URDFParser, ParseGazeboRefDoesntExistWarningMessage)
parser.InitModelString(str, config, &sdfResult);

EXPECT_PRED2(sdf::testing::contains, buffer.str(),
"<gazebo> tag with reference[" << _linkName << "] does not exist"
"<gazebo> tag with reference[link1] does not exist"
" in the URDF model. Please ensure that the reference attribute"
" matches the name of a link.");
}

/* TODO(aagrawal05): Similar tests for -
}
/* TODO(aagrawal05): Similar tests for -
InsertSDFExtensionCollision,
InsertSDFExtensionRobot,
InsertSDFExtensionVisual,
Expand Down

0 comments on commit ab47435

Please sign in to comment.