Permalink
Browse files

Fix test

  • Loading branch information...
mortenvp committed May 1, 2017
1 parent f315ff0 commit 02a5d6cfc676367196e5e7ce60c8204c92278680
Showing with 3 additions and 1 deletion.
  1. +3 −1 test/src/test_function.cpp
@@ -518,8 +518,10 @@ TEST(test_function, bind_member_variable_2)
{
dummy d;
// Explanation of the double call operator:
// http://stackoverflow.com/a/43716824/1717320
auto b = std::bind(&dummy::member, &d);
b();
b()();
EXPECT_TRUE(d.member.expect_calls().with().to_bool());
}

0 comments on commit 02a5d6c

Please sign in to comment.