diff --git a/test/result_arg_types_test.cpp b/test/result_arg_types_test.cpp index 33ccddc..9d5aa2c 100644 --- a/test/result_arg_types_test.cpp +++ b/test/result_arg_types_test.cpp @@ -8,7 +8,6 @@ // http://www.boost.org/LICENSE_1_0.txt) #include -#include #include struct X @@ -27,14 +26,14 @@ int main() { typedef boost::function F1; - BOOST_TEST_TRAIT_TRUE(( boost::core::is_same )); - BOOST_TEST_TRAIT_TRUE(( boost::core::is_same )); + BOOST_TEST_TRAIT_SAME(F1::result_type, X); + BOOST_TEST_TRAIT_SAME(F1::argument_type, Y); typedef boost::function F2; - BOOST_TEST_TRAIT_TRUE(( boost::core::is_same )); - BOOST_TEST_TRAIT_TRUE(( boost::core::is_same )); - BOOST_TEST_TRAIT_TRUE(( boost::core::is_same )); + BOOST_TEST_TRAIT_SAME(F2::result_type, X); + BOOST_TEST_TRAIT_SAME(F2::first_argument_type, Y); + BOOST_TEST_TRAIT_SAME(F2::second_argument_type, Z); return boost::report_errors(); }