Skip to content

Commit

Permalink
Fixing CI
Browse files Browse the repository at this point in the history
Signed-off-by: Anh Nguyen <[email protected]>
  • Loading branch information
anhnv3991 committed Jun 13, 2024
1 parent a557315 commit d3a61f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions map/map_loader/test/test_replace_with_absolute_path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ TEST(ReplaceWithAbsolutePathTest, BasicFunctionality)
{"/home/user/pcd/file2.pcd", {{-1, -2, -3}, {-4, -5, -6}}},
};

std::set<std::string> missing_pcds;
auto result = replaceWithAbsolutePath(pcd_metadata_path, pcd_paths, missing_pcds);
std::set<std::string> missing_pcd_names;
auto result = replaceWithAbsolutePath(pcd_metadata_path, pcd_paths, missing_pcd_names);
ASSERT_THAT(result, ContainerEq(expected));
}

Expand All @@ -54,9 +54,9 @@ TEST(ReplaceWithAbsolutePathTest, NoMatchingFiles)
};

std::map<std::string, PCDFileMetadata> expected = {};
std::set<std::string> missing_pcds;
std::set<std::string> missing_pcd_names;

auto result = replaceWithAbsolutePath(pcd_metadata_path, pcd_paths, missing_pcds);
auto result = replaceWithAbsolutePath(pcd_metadata_path, pcd_paths, missing_pcd_names);
ASSERT_THAT(result, ContainerEq(expected));
}

Expand Down

0 comments on commit d3a61f4

Please sign in to comment.