Boost logo

Boost-Commit :

From: Frank.Birbacher_at_[hidden]
Date: 2007-09-10 12:52:34


Author: birbacher
Date: 2007-09-10 12:52:31 EDT (Mon, 10 Sep 2007)
New Revision: 39182
URL: http://svn.boost.org/trac/boost/changeset/39182

Log:
minor modification of test cases in IOStreams error_test.cpp
Text files modified:
   sandbox-branches/birbacher/tmp_iostreams/libs/iostreams/test/error_test.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox-branches/birbacher/tmp_iostreams/libs/iostreams/test/error_test.cpp
==============================================================================
--- sandbox-branches/birbacher/tmp_iostreams/libs/iostreams/test/error_test.cpp (original)
+++ sandbox-branches/birbacher/tmp_iostreams/libs/iostreams/test/error_test.cpp 2007-09-10 12:52:31 EDT (Mon, 10 Sep 2007)
@@ -98,7 +98,7 @@
     test_stream stream("foo");
     
     BOOST_REQUIRE_NO_THROW( stream.exceptions(ios::failbit | ios::badbit) );
- BOOST_REQUIRE_THROW( function(stream), std::exception );
+ BOOST_CHECK_THROW( function(stream), std::exception );
     
     check_stream_for_badbit(stream);
 }
@@ -110,7 +110,7 @@
     test_stream stream("foo");
     
     BOOST_REQUIRE_NO_THROW( function(stream) );
- BOOST_REQUIRE_THROW(
+ BOOST_CHECK_THROW(
             stream.exceptions(ios::failbit | ios::badbit),
             ios::failure
         );


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk