From 0ea2d8f8fa1601abb9ce713b7414e7b86f90bc61 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Thu, 31 Jan 2019 19:52:54 -0500 Subject: [PATCH] Googletest export Fix stack overflow in AnyOfArray tests. PiperOrigin-RevId: 231881125 --- googlemock/test/gmock-generated-matchers_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/googlemock/test/gmock-generated-matchers_test.cc b/googlemock/test/gmock-generated-matchers_test.cc index d79cef99..eb47f2b0 100644 --- a/googlemock/test/gmock-generated-matchers_test.cc +++ b/googlemock/test/gmock-generated-matchers_test.cc @@ -1164,8 +1164,8 @@ TEST(AnyOfArrayTest, BasicForms) { EXPECT_THAT(0, Not(AnyOfArray(ar, 0))); EXPECT_THAT(1, AnyOfArray(ar, 1)); EXPECT_THAT(2, Not(AnyOfArray(ar, 1))); - EXPECT_THAT(3, AnyOfArray(ar + 1, 3)); - EXPECT_THAT(4, Not(AnyOfArray(ar + 1, 3))); + EXPECT_THAT(3, AnyOfArray(ar + 1, 2)); + EXPECT_THAT(4, Not(AnyOfArray(ar + 1, 2))); // Array // int ar0[0]; Not usable int ar1[1] = {1};