Skip to content

Commit

Permalink
rename model str
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 committed Dec 7, 2024
1 parent e7a7ccb commit ded1e0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/common_test/free_joint_features.cc
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ TEST_F(FreeGroupFeaturesTest, FreeGroupSetWorldPosePrincipalAxesOffset)

TEST_F(FreeGroupFeaturesTest, FreeGroupSetWorldPoseStaticAndFixedModel)
{
const std::string modelStr = R"(
const std::string modelStaticStr = R"(
<sdf version="1.11">
<model name="sphere">
<static>true</static>
Expand Down Expand Up @@ -377,7 +377,7 @@ TEST_F(FreeGroupFeaturesTest, FreeGroupSetWorldPoseStaticAndFixedModel)
ASSERT_NE(nullptr, world);

// create the static model
errors = root.LoadSdfString(modelStr);
errors = root.LoadSdfString(modelStaticStr);
ASSERT_TRUE(errors.empty()) << errors;
ASSERT_NE(nullptr, root.Model());
world->ConstructModel(*root.Model());
Expand Down

0 comments on commit ded1e0a

Please sign in to comment.