Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70085 - sandbox/coerce/libs/coerce/test
From: vexocide_at_[hidden]
Date: 2011-03-17 17:43:12


Author: vexocide
Date: 2011-03-17 17:43:12 EDT (Thu, 17 Mar 2011)
New Revision: 70085
URL: http://svn.boost.org/trac/boost/changeset/70085

Log:
Test .reserve for greater or equal instead of just equal
Text files modified:
   sandbox/coerce/libs/coerce/test/reserve.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/coerce/libs/coerce/test/reserve.cpp
==============================================================================
--- sandbox/coerce/libs/coerce/test/reserve.cpp (original)
+++ sandbox/coerce/libs/coerce/test/reserve.cpp 2011-03-17 17:43:12 EDT (Thu, 17 Mar 2011)
@@ -67,5 +67,5 @@
 
     std::string test_string;
     call_reserve(test_string, 1u);
- BOOST_CHECK_EQUAL(test_string.capacity(), 1u);
+ BOOST_CHECK_GE(test_string.capacity(), 1u);
 }


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