Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 committed Apr 6, 2024
1 parent ddf7f46 commit 6ecb502
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Server_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1012,8 +1012,11 @@ TEST_P(ServerFixture, GZ_UTILS_TEST_DISABLED_ON_WIN32(ResourcePath))

if (mesh)
{
EXPECT_EQ("model://scheme_resource_uri/meshes/box.dae",
mesh->Uri());
// StoreResolvedURIs is set to true so expect full path
EXPECT_NE(std::string::npos,
mesh->Uri().find("scheme_resource_uri/meshes/box.dae"));
EXPECT_FALSE(common::isRelativePath(mesh->Uri()));
EXPECT_TRUE(common::isFile(mesh->Uri()));
}

eachCount++;
Expand Down

0 comments on commit 6ecb502

Please sign in to comment.