From ded1e0a7efcdb9c61d69e917a5c242a4aa423bbc Mon Sep 17 00:00:00 2001 From: Ian Chen Date: Sat, 7 Dec 2024 14:41:21 +0800 Subject: [PATCH] rename model str Signed-off-by: Ian Chen --- test/common_test/free_joint_features.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/common_test/free_joint_features.cc b/test/common_test/free_joint_features.cc index 3562ec6c8..a4dcd7c8d 100644 --- a/test/common_test/free_joint_features.cc +++ b/test/common_test/free_joint_features.cc @@ -318,7 +318,7 @@ TEST_F(FreeGroupFeaturesTest, FreeGroupSetWorldPosePrincipalAxesOffset) TEST_F(FreeGroupFeaturesTest, FreeGroupSetWorldPoseStaticAndFixedModel) { - const std::string modelStr = R"( + const std::string modelStaticStr = R"( true @@ -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());