From c10a35a26af06908f9b6e84848dbf96cac66eb61 Mon Sep 17 00:00:00 2001 From: "zhanyong.wan" Date: Thu, 4 Apr 2013 22:45:59 +0000 Subject: [PATCH] Fixes some compatibility issues with STLport. --- test/gmock-spec-builders_test.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/gmock-spec-builders_test.cc b/test/gmock-spec-builders_test.cc index 4a333df7..92e7d343 100644 --- a/test/gmock-spec-builders_test.cc +++ b/test/gmock-spec-builders_test.cc @@ -1523,14 +1523,14 @@ TEST(ExpectationSetTest, SizeWorks) { TEST(ExpectationSetTest, IsEnumerable) { ExpectationSet es; - EXPECT_THAT(es.begin(), Eq(es.end())); + EXPECT_TRUE(es.begin() == es.end()); es += Expectation(); ExpectationSet::const_iterator it = es.begin(); - EXPECT_THAT(it, Ne(es.end())); + EXPECT_TRUE(it != es.end()); EXPECT_THAT(*it, Eq(Expectation())); ++it; - EXPECT_THAT(it, Eq(es.end())); + EXPECT_TRUE(it== es.end()); } // Tests the .After() clause.