diff options
author | Evan Brown <ezb@google.com> | 2024-06-06 11:12:29 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-06-06 11:13:25 -0700 |
commit | 66ef711d6846771b8e725e377de37bedae6c1527 (patch) | |
tree | ab97f865d2fb443845dc604e21a0721123b04c3c /absl/container/BUILD.bazel | |
parent | ed34153e0d9cd15f9b9eb45e86b457e0a495aeea (diff) | |
download | abseil-66ef711d6846771b8e725e377de37bedae6c1527.tar.gz abseil-66ef711d6846771b8e725e377de37bedae6c1527.tar.bz2 abseil-66ef711d6846771b8e725e377de37bedae6c1527.zip |
Add validation that hash/eq functors are consistent, meaning that `eq(k1, k2) -> hash(k1) == hash(k2)`.
Also add missing includes/dependencies in flat_hash_map_test.
PiperOrigin-RevId: 640959222
Change-Id: I8d99544af05e97310045e6149f6ef6f7c82e552d
Diffstat (limited to 'absl/container/BUILD.bazel')
-rw-r--r-- | absl/container/BUILD.bazel | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/absl/container/BUILD.bazel b/absl/container/BUILD.bazel index 859163f8..2e32b4dd 100644 --- a/absl/container/BUILD.bazel +++ b/absl/container/BUILD.bazel @@ -265,11 +265,13 @@ cc_test( deps = [ ":flat_hash_map", ":hash_generator_testing", + ":hash_policy_testing", ":test_allocator", ":unordered_map_constructor_test", ":unordered_map_lookup_test", ":unordered_map_members_test", ":unordered_map_modifiers_test", + "//absl/base:config", "//absl/log:check", "//absl/meta:type_traits", "//absl/types:any", |