From b2103f6947a4c19e7e64a067b7a5889c6c9a4393 Mon Sep 17 00:00:00 2001 From: mat007 Date: Mon, 10 Oct 2011 21:16:56 +0000 Subject: [PATCH] Fixed constraint_functor_not_compatible git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@386 860be788-9bd5-4423-9f1e-828f051e677b --- src/tests/errors_test/constraint_functor_not_compatible.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tests/errors_test/constraint_functor_not_compatible.cpp b/src/tests/errors_test/constraint_functor_not_compatible.cpp index 96848d5..65a714f 100644 --- a/src/tests/errors_test/constraint_functor_not_compatible.cpp +++ b/src/tests/errors_test/constraint_functor_not_compatible.cpp @@ -12,13 +12,13 @@ namespace { MOCK_CLASS( my_class ) { - MOCK_METHOD_EXT( my_method, 0, void( int ), my_method ) + MOCK_METHOD_EXT( my_method, 1, void( int ), my_method ) }; - bool functor( int, int ); + bool constraint( int, int ); void test_case() { my_class c; - MOCK_EXPECT( c, my_method ).with( &functor ); + MOCK_EXPECT( c, my_method ).with( &constraint ); } }