Skip to content

Commit

Permalink
Use SDF constant to fix test (#811)
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <[email protected]>
  • Loading branch information
chapulina committed May 12, 2021
1 parent 9f45c8a commit 28924e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Util_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <ignition/common/Console.hh>
#include <sdf/Actor.hh>
#include <sdf/Light.hh>
#include <sdf/Types.hh>

#include "ignition/gazebo/components/Actor.hh"
#include "ignition/gazebo/components/Collision.hh"
Expand Down Expand Up @@ -365,7 +366,7 @@ TEST_F(UtilTest, AsFullPath)

// Data string
{
const std::string path{"data-string"};
const std::string path{sdf::kSdfStringSource};

EXPECT_EQ(relativeUriUnix, asFullPath(relativeUriUnix, path));
EXPECT_EQ(relativeUriWindows, asFullPath(relativeUriWindows, path));
Expand Down

0 comments on commit 28924e4

Please sign in to comment.