diff options
author | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2013-04-04 22:45:59 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2013-04-04 22:45:59 +0000 |
commit | e4717cfc8f3130d56a805ec4a9367ee9a009d456 (patch) | |
tree | e9a8a2f2660d938ac174d6477d6a28ca47d3478c /test | |
parent | ddc1da628bd3f14c9843fe54f357a7afb67cd148 (diff) | |
download | googlemock-e4717cfc8f3130d56a805ec4a9367ee9a009d456.tar.gz |
Fixes some compatibility issues with STLport.
git-svn-id: http://googlemock.googlecode.com/svn/trunk@429 8415998a-534a-0410-bf83-d39667b30386
Diffstat (limited to 'test')
-rw-r--r-- | test/gmock-spec-builders_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/gmock-spec-builders_test.cc b/test/gmock-spec-builders_test.cc index 4a333df..92e7d34 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. |