diff options
author | Gennadiy Civil <misterg@google.com> | 2018-04-17 23:32:15 (GMT) |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2018-04-17 23:32:15 (GMT) |
commit | 80d6e26a9c170812614f2e29c53f0893446d8cee (patch) | |
tree | 7666311c92d4435298f3a4c49831485c3a90048a /googlemock | |
parent | 5dccf6b79eb55fbbfb4783e2ac15fcc40f66e5bf (diff) | |
download | googletest-80d6e26a9c170812614f2e29c53f0893446d8cee.zip googletest-80d6e26a9c170812614f2e29c53f0893446d8cee.tar.gz googletest-80d6e26a9c170812614f2e29c53f0893446d8cee.tar.bz2 |
cl/193060888refs/pull/1577/head
Diffstat (limited to 'googlemock')
-rw-r--r-- | googlemock/test/gmock-matchers_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/googlemock/test/gmock-matchers_test.cc b/googlemock/test/gmock-matchers_test.cc index a76b331..c40944b 100644 --- a/googlemock/test/gmock-matchers_test.cc +++ b/googlemock/test/gmock-matchers_test.cc @@ -2753,11 +2753,11 @@ TEST(ElementsAreTest, HugeMatcher) { // Tests the variadic version of the UnorderedElementsAreMatcher TEST(ElementsAreTest, HugeMatcherUnordered) { - vector<int> test_vector{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; + vector<int> test_vector{2, 1, 8, 5, 4, 6, 7, 3, 9, 12, 11, 10}; EXPECT_THAT(test_vector, UnorderedElementsAre( - Eq(1), Eq(2), Eq(3), Eq(4), Eq(5), Eq(6), Eq(7), - Eq(8), Eq(9), Eq(10), Eq(11), Ne(122))); + Eq(2), Eq(1), Gt(7), Eq(5), Eq(4), Eq(6), Eq(7), + Eq(3), Eq(9), Eq(12), Eq(11), Ne(122))); } #endif // GTEST_LANG_CXX11 |