Skip to content

Commit 2d221fe

Browse files
committed
Update parser_urdf_TEST.cc and fixed mistake in test
Signed-off-by: Aditya Agrawal <[email protected]> Signed-off-by: Aditya Agrawal <[email protected]>
1 parent d9f56f5 commit 2d221fe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/parser_urdf_TEST.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2505,12 +2505,12 @@ TEST(URDFParser, ParseGazeboRefDoesntExistWarningMessage)
25052505
parser.InitModelString(str, config, &sdfResult);
25062506

25072507
EXPECT_PRED2(sdf::testing::contains, buffer.str(),
2508-
"<gazebo> tag with reference[" << _linkName << "] does not exist"
2508+
"<gazebo> tag with reference[link1] does not exist"
25092509
" in the URDF model. Please ensure that the reference attribute"
25102510
" matches the name of a link.");
2511-
}
2512-
2513-
/* TODO(aagrawal05): Similar tests for -
2511+
}
2512+
2513+
/* TODO(aagrawal05): Similar tests for -
25142514
InsertSDFExtensionCollision,
25152515
InsertSDFExtensionRobot,
25162516
InsertSDFExtensionVisual,

0 commit comments

Comments
 (0)