Fixes some compatibility issues with STLport.
This commit is contained in:
parent
a9a59e06dd
commit
c10a35a26a
@ -1523,14 +1523,14 @@ TEST(ExpectationSetTest, SizeWorks) {
|
|||||||
|
|
||||||
TEST(ExpectationSetTest, IsEnumerable) {
|
TEST(ExpectationSetTest, IsEnumerable) {
|
||||||
ExpectationSet es;
|
ExpectationSet es;
|
||||||
EXPECT_THAT(es.begin(), Eq(es.end()));
|
EXPECT_TRUE(es.begin() == es.end());
|
||||||
|
|
||||||
es += Expectation();
|
es += Expectation();
|
||||||
ExpectationSet::const_iterator it = es.begin();
|
ExpectationSet::const_iterator it = es.begin();
|
||||||
EXPECT_THAT(it, Ne(es.end()));
|
EXPECT_TRUE(it != es.end());
|
||||||
EXPECT_THAT(*it, Eq(Expectation()));
|
EXPECT_THAT(*it, Eq(Expectation()));
|
||||||
++it;
|
++it;
|
||||||
EXPECT_THAT(it, Eq(es.end()));
|
EXPECT_TRUE(it== es.end());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Tests the .After() clause.
|
// Tests the .After() clause.
|
||||||
|
Loading…
Reference in New Issue
Block a user