Correct test to match spec; path iteration yields generic format. Does will be clarified to explain why #5989 is NAD.

[SVN r76591]
This commit is contained in:
Beman Dawes
2012-01-20 10:55:53 +00:00
parent e59f22f698
commit 4013cbe7ce

View File

@@ -286,9 +286,9 @@ namespace
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";