summaryrefslogtreecommitdiff
path: root/absl/functional/any_invocable_test.cc
diff options
context:
space:
mode:
authorGravatar Dino Radakovic <dinor@google.com>2022-07-15 14:26:10 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2022-07-15 14:26:56 -0700
commit56f5477f15ab63f77a3f34487304d6c7e0965238 (patch)
treef1085425e48c15a2e36f4f01c9379bd19c742906 /absl/functional/any_invocable_test.cc
parentb707b6c1799bf4c058d4145d9062825384c156bd (diff)
any_invocable_test: Re-enable the two conversion tests that used to fail under MSVC
PiperOrigin-RevId: 461238101 Change-Id: Id3edac104ecd9edd9daf8012894a62692bd9569f
Diffstat (limited to 'absl/functional/any_invocable_test.cc')
-rw-r--r--absl/functional/any_invocable_test.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/absl/functional/any_invocable_test.cc b/absl/functional/any_invocable_test.cc
index fb5e7792..dabaae9b 100644
--- a/absl/functional/any_invocable_test.cc
+++ b/absl/functional/any_invocable_test.cc
@@ -1246,12 +1246,9 @@ TYPED_TEST_P(AnyInvTestNoexceptTrue, ConversionConstructionConstraints) {
#else
using AnyInvType = typename TypeParam::AnyInvType;
-// TODO(b/217761454): Fix this and re-enable for MSVC.
-#ifndef _MSC_VER
EXPECT_FALSE((std::is_constructible<
AnyInvType,
typename TypeParam::AnyInvocableFunTypeNotNoexcept*>::value));
-#endif
EXPECT_FALSE((
std::is_constructible<AnyInvType,
typename TypeParam::IncompatibleInvocable>::value));
@@ -1264,12 +1261,9 @@ TYPED_TEST_P(AnyInvTestNoexceptTrue, ConversionAssignConstraints) {
#else
using AnyInvType = typename TypeParam::AnyInvType;
-// TODO(b/217761454): Fix this and re-enable for MSVC.
-#ifndef _MSC_VER
EXPECT_FALSE((std::is_assignable<
AnyInvType&,
typename TypeParam::AnyInvocableFunTypeNotNoexcept*>::value));
-#endif
EXPECT_FALSE(
(std::is_assignable<AnyInvType&,
typename TypeParam::IncompatibleInvocable>::value));