|
Boost-Commit : |
From: dannyh_at_[hidden]
Date: 2007-05-21 19:51:37
Author: dannyh
Date: 2007-05-21 19:51:36 EDT (Mon, 21 May 2007)
New Revision: 4160
URL: http://svn.boost.org/trac/boost/changeset/4160
Log:
fixed basic_multimap_test
Text files modified:
sandbox/explore/libs/explore/test/std_map.cpp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Modified: sandbox/explore/libs/explore/test/std_map.cpp
==============================================================================
--- sandbox/explore/libs/explore/test/std_map.cpp (original)
+++ sandbox/explore/libs/explore/test/std_map.cpp 2007-05-21 19:51:36 EDT (Mon, 21 May 2007)
@@ -51,6 +51,8 @@
explore::print(mmis, str_out);
BOOST_CHECK_EQUAL(str_out.str(), "[1:first]");
+ str_out.str("");
+
mmis.insert(std::make_pair(1, "single"));
explore::print(mmis, str_out);
BOOST_CHECK_EQUAL(str_out.str(), "[1:first, 1:single]");
@@ -81,12 +83,12 @@
mivi.insert(std::make_pair(1, vi));
explore::print(mivi, str_out);
- BOOST_CHECK_EQUAL(str_out.str(), "[1:[1,2,3]]");
+ BOOST_CHECK_EQUAL(str_out.str(), "[1:[1, 2, 3]]");
str_out.str("");
mivi.insert(std::make_pair(2, vi));
mivi.insert(std::make_pair(3, vi));
explore::print(mivi, str_out);
- BOOST_CHECK_EQUAL(str_out.str(), "[1:[1,2,3], 2:[1,2,3], 3:[1,2,3]]");
+ BOOST_CHECK_EQUAL(str_out.str(), "[1:[1, 2, 3], 2:[1, 2, 3], 3:[1, 2, 3]]");
}
\ No newline at end of file
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