Skip to content

Commit

Permalink
Fix test so that it works no matter the hash function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tessil committed May 17, 2020
1 parent 4d16666 commit 123d530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/robin_map_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ BOOST_AUTO_TEST_CASE(test_modify_value_through_iterator) {
}

BOOST_AUTO_TEST_CASE(test_modify_value_through_iterator_with_const_qualifier) {
tsl::robin_map<int, int> map = {{0, 1}, {1, 2}};
tsl::robin_map<int, int> map = {{0, 1}};
const auto it = map.begin();

BOOST_CHECK_EQUAL(it->second, 1);
Expand Down

0 comments on commit 123d530

Please sign in to comment.