Update of /cvsroot/boost/boost/libs/asio/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv9325
Modified Files:
deadline_timer.cpp
Log Message:
Fix test failure caused by incorrect condition check.
Index: deadline_timer.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/asio/test/deadline_timer.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- deadline_timer.cpp 7 May 2007 12:13:40 -0000 1.5
+++ deadline_timer.cpp 8 May 2007 10:49:40 -0000 1.6
@@ -177,9 +177,7 @@
BOOST_CHECK(count == 1);
end = now();
expected_end = start + seconds(10);
- BOOST_CHECK_MESSAGE(expected_end < end, "expected_end = " <<
boost::posix_time::to_simple_string(expected_end));
- BOOST_CHECK_MESSAGE(expected_end < end, "end = " <<
boost::posix_time::to_simple_string(end));
- BOOST_CHECK(expected_end < end);
+ BOOST_CHECK(expected_end <= end);
}
test_suite* init_unit_test_suite(int argc, char* argv[])
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs