diff options
author | Abseil Team <absl-team@google.com> | 2019-01-31 19:52:54 -0500 |
---|---|---|
committer | Ashley Hedberg <ahedberg@google.com> | 2019-02-01 12:52:31 -0500 |
commit | 0ea2d8f8fa1601abb9ce713b7414e7b86f90bc61 (patch) | |
tree | e22e1e358774e457835d75b358a5e030d4d9e501 | |
parent | 4f4c01d8c86659f587ea0bc27c815ffa94fc9f72 (diff) | |
download | googletest-0ea2d8f8fa1601abb9ce713b7414e7b86f90bc61.tar.gz googletest-0ea2d8f8fa1601abb9ce713b7414e7b86f90bc61.tar.bz2 googletest-0ea2d8f8fa1601abb9ce713b7414e7b86f90bc61.zip |
Googletest export
Fix stack overflow in AnyOfArray tests.
PiperOrigin-RevId: 231881125
-rw-r--r-- | googlemock/test/gmock-generated-matchers_test.cc | 4 |
1 files 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}; |