@@ -2463,7 +2463,7 @@ TEST(URDFParser, ZeroMassLeafLink)
2463
2463
// ///////////////////////////////////////////////
2464
2464
TEST (URDFParser, ParseGazeboRefDoesntExistWarningMessage)
2465
2465
{
2466
- // Redirect sdfwarn output
2466
+ // Redirect sdfwarn output
2467
2467
std::stringstream buffer;
2468
2468
sdf::testing::RedirectConsoleStream redir (
2469
2469
sdf::Console::Instance ()->GetMsgStream (), &buffer);
@@ -2476,9 +2476,9 @@ TEST(URDFParser, ParseGazeboRefDoesntExistWarningMessage)
2476
2476
});
2477
2477
#endif
2478
2478
2479
- // test if reference to link exists
2480
- {
2481
- // clear the contents of the buffer
2479
+ // test if reference to link exists
2480
+ {
2481
+ // clear the contents of the buffer
2482
2482
buffer.str (" " );
2483
2483
2484
2484
std::string str = R"(
@@ -2505,17 +2505,17 @@ TEST(URDFParser, ParseGazeboRefDoesntExistWarningMessage)
2505
2505
sdf::ParserConfig config;
2506
2506
parser.InitModelString (str, config, &sdfResult);
2507
2507
2508
- EXPECT_PRED2 (sdf::testing::contains, buffer.str (),
2509
- " <gazebo> tag with reference[link1] does not exist in the URDF model. Please "
2510
- " ensure that the referenced attribute matches the name of a link, consider checking unicode "
2511
- " representation for reference attribute in case of invisible characters and homoglyphs" );
2512
- }
2513
-
2514
- // TODO: Similar tests for -
2515
- // InsertSDFExtensionCollision,
2516
- // InsertSDFExtensionRobot,
2517
- // InsertSDFExtensionVisual,
2518
- // InsertSDFExtensionJoint
2508
+ EXPECT_PRED2 (sdf::testing::contains, buffer.str (),
2509
+ " <gazebo> tag with reference[link1] does not exist in the URDF model. Please "
2510
+ " ensure that the referenced attribute matches the name of a link, consider checking unicode "
2511
+ " representation for reference attribute in case of invisible characters and homoglyphs" );
2512
+ }
2513
+
2514
+ // TODO: Similar tests for -
2515
+ // InsertSDFExtensionCollision,
2516
+ // InsertSDFExtensionRobot,
2517
+ // InsertSDFExtensionVisual,
2518
+ // InsertSDFExtensionJoint
2519
2519
}
2520
2520
2521
2521
// ///////////////////////////////////////////////
0 commit comments