diff --git a/test/function_test_fail1.cpp b/test/function_test_fail1.cpp index 0735e22..99c599c 100644 --- a/test/function_test_fail1.cpp +++ b/test/function_test_fail1.cpp @@ -1,6 +1,6 @@ // Boost.Function library -// Copyright Douglas Gregor 2001-2003. Use, modification and +// Copyright (C) Douglas Gregor 2001-2005. Use, modification and // distribution is subject to the Boost Software License, Version // 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) @@ -22,7 +22,7 @@ test_main(int, char*[]) if (f1 == f2) { } - BOOST_CRITICAL_ERROR("This should not have compiled."); + BOOST_ERROR("This should not have compiled."); return 0; } diff --git a/test/function_test_fail2.cpp b/test/function_test_fail2.cpp index f2d158e..57f2d22 100644 --- a/test/function_test_fail2.cpp +++ b/test/function_test_fail2.cpp @@ -1,6 +1,6 @@ // Boost.Function library -// Copyright Douglas Gregor 2001-2003. Use, modification and +// Copyright (C) Douglas Gregor 2001-2005. Use, modification and // distribution is subject to the Boost Software License, Version // 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) @@ -21,7 +21,7 @@ test_main(int, char*[]) function0 f1; f1 = bad_fn; - BOOST_CRITICAL_ERROR("This should not have compiled."); + BOOST_ERROR("This should not have compiled."); return 0; }