Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

Commit

Permalink
Fix padding issue in heterogeneous unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
gergondet committed Jun 16, 2020
1 parent b42b741 commit 349e861
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test/unit/unit_heterogeneous.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ struct MyEqual {
}
};

TYPE_TO_STRING(robin_hood::unordered_flat_map<std::string, int, MyHash, MyEqual>);
TYPE_TO_STRING(robin_hood::unordered_node_map<std::string, int, MyHash, MyEqual>);
TYPE_TO_STRING(robin_hood::unordered_flat_map<std::string, uint64_t, MyHash, MyEqual>);
TYPE_TO_STRING(robin_hood::unordered_node_map<std::string, uint64_t, MyHash, MyEqual>);

TEST_CASE_TEMPLATE("heterogeneous", Map,
robin_hood::unordered_flat_map<std::string, int, MyHash, MyEqual>,
robin_hood::unordered_node_map<std::string, int, MyHash, MyEqual>) {
robin_hood::unordered_flat_map<std::string, uint64_t, MyHash, MyEqual>,
robin_hood::unordered_node_map<std::string, uint64_t, MyHash, MyEqual>) {
Map map;
const Map& cmap = map;
REQUIRE(map.count("123") == 0);
Expand Down

0 comments on commit 349e861

Please sign in to comment.