From fdd91dbf917951bf357bad37fc46ff951c641112 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Tue, 28 Feb 2006 22:56:33 +0000 Subject: [PATCH] Stop using assert() in tests [SVN r33181] --- test/function_test.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/function_test.cpp b/test/function_test.cpp index 47fdba4..9870ac7 100644 --- a/test/function_test.cpp +++ b/test/function_test.cpp @@ -10,7 +10,6 @@ #include #include #include -#include #include #include @@ -653,12 +652,12 @@ static void test_implicit() static void test_call_obj(boost::function f) { - assert(!f.empty()); + BOOST_CHECK(!f.empty()); } static void test_call_cref(const boost::function& f) { - assert(!f.empty()); + BOOST_CHECK(!f.empty()); } static void test_call()