|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52943 - sandbox/pinhole/libs/pinhole/test
From: jmcintyre_at_[hidden]
Date: 2009-05-12 15:36:46
Author: jared
Date: 2009-05-12 15:36:44 EDT (Tue, 12 May 2009)
New Revision: 52943
URL: http://svn.boost.org/trac/boost/changeset/52943
Log:
pinhole - test should properly test for string/wstring conversion now that pinhole does the conversion.
Text files modified:
sandbox/pinhole/libs/pinhole/test/test_string_properties.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: sandbox/pinhole/libs/pinhole/test/test_string_properties.cpp
==============================================================================
--- sandbox/pinhole/libs/pinhole/test/test_string_properties.cpp (original)
+++ sandbox/pinhole/libs/pinhole/test/test_string_properties.cpp 2009-05-12 15:36:44 EDT (Tue, 12 May 2009)
@@ -57,8 +57,8 @@
testGroup.set_as_string( "String_Func", "second" );
BOOST_CHECK_EQUAL( testGroup.get_as_string("String_Func"), "second" );
- testGroup.set_as_wstring( "String_Func", L"third" );
- BOOST_CHECK( testGroup.get_as_wstring("String_Func") == L"third" );
+ testGroup.set_as_wstring("String_Func", L"third");
+ BOOST_CHECK( testGroup.get_as_string("String_Func") == "third" );
BOOST_CHECK_EQUAL( testGroup.get_as_string("String_Func"), "third" );
}
@@ -103,7 +103,7 @@
BOOST_CHECK_EQUAL( testGroup.get_as_string("String_Var"), "second" );
testGroup.set_as_wstring("String_Var", L"third" );
- BOOST_CHECK( testGroup.get_as_wstring("String_Var") == L"third" );
+ BOOST_CHECK( testGroup.get_as_wstring("String_Var") == L"third");
BOOST_CHECK_EQUAL( testGroup.get_as_string("String_Var"), "third" );
}
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