Boost logo

Boost-Commit :

From: lists.drrngrvy_at_[hidden]
Date: 2008-03-21 14:43:08


Author: drrngrvy
Date: 2008-03-21 14:43:08 EDT (Fri, 21 Mar 2008)
New Revision: 43765
URL: http://svn.boost.org/trac/boost/changeset/43765

Log:
Fix cookie.cpp
Text files modified:
   sandbox/SOC/2007/cgi/branches/acceptor_work/libs/cgi/test/run/cookie.cpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: sandbox/SOC/2007/cgi/branches/acceptor_work/libs/cgi/test/run/cookie.cpp
==============================================================================
--- sandbox/SOC/2007/cgi/branches/acceptor_work/libs/cgi/test/run/cookie.cpp (original)
+++ sandbox/SOC/2007/cgi/branches/acceptor_work/libs/cgi/test/run/cookie.cpp 2008-03-21 14:43:08 EDT (Fri, 21 Mar 2008)
@@ -87,7 +87,8 @@
 
   cookie ck2("name", "value", "Wed, 03-Oct-2007 16:26:06 GMT"
             , "/cookie", "example.com", true, true);
- oss.flush();
+ oss.str("");
+ BOOST_CHECK(oss.str() == "");
   oss<< ck2;
   string ostr(oss.str());
   BOOST_CHECK_EQUAL(ostr, cookie_content);


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