Skip to content

Commit

Permalink
Adapt test on std::set
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz committed Oct 29, 2015
1 parent 27ac6d5 commit 8f6b40e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/test-py2cpp.cpp
Expand Up @@ -925,9 +925,11 @@ TEST(CppBuilder_move, InSet)
ASSERT_NE(nullptr, pyo.get());
auto ret = CppBuilder<std::set<OnlyMove::FromPy>>()(pyo.get());
auto it = ret.begin();
EXPECT_TRUE(expected1 == it++);
EXPECT_TRUE(expected2 == it++);
EXPECT_TRUE(expected3 == it++);
EXPECT_TRUE(expected1 == *it);
++it;
EXPECT_TRUE(expected2 == *it);
++it;
EXPECT_TRUE(expected3 == *it);
EXPECT_FALSE(uncaught_exception());
}

Expand Down

0 comments on commit 8f6b40e

Please sign in to comment.