Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76591 - trunk/libs/filesystem/v3/test
From: bdawes_at_[hidden]
Date: 2012-01-20 05:55:56


Author: bemandawes
Date: 2012-01-20 05:55:53 EST (Fri, 20 Jan 2012)
New Revision: 76591
URL: http://svn.boost.org/trac/boost/changeset/76591

Log:
Correct test to match spec; path iteration yields generic format. Does will be clarified to explain why #5989 is NAD.
Text files modified:
   trunk/libs/filesystem/v3/test/path_test.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/filesystem/v3/test/path_test.cpp
==============================================================================
--- trunk/libs/filesystem/v3/test/path_test.cpp (original)
+++ trunk/libs/filesystem/v3/test/path_test.cpp 2012-01-20 05:55:53 EST (Fri, 20 Jan 2012)
@@ -286,9 +286,9 @@
       itr_ck = "c:\\";
       itr = itr_ck.begin();
       PATH_TEST_EQ(itr->string(), "c:");
- PATH_TEST_EQ(*++itr, "\\");
+ PATH_TEST_EQ(*++itr, "/"); // test that iteration returns generic format
       BOOST_TEST(++itr == itr_ck.end());
- PATH_TEST_EQ(*--itr, "\\");
+ PATH_TEST_EQ(*--itr, "/"); // test that iteration returns generic format
       PATH_TEST_EQ(*--itr, "c:");
 
       itr_ck = "c:/foo";


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