|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r76708 - trunk/libs/conversion/test
From: antoshkka_at_[hidden]
Date: 2012-01-26 12:51:18
Author: apolukhin
Date: 2012-01-26 12:51:17 EST (Thu, 26 Jan 2012)
New Revision: 76708
URL: http://svn.boost.org/trac/boost/changeset/76708
Log:
Tiny change to test case from #6452
Text files modified:
trunk/libs/conversion/test/lexical_cast_empty_input_test.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
Modified: trunk/libs/conversion/test/lexical_cast_empty_input_test.cpp
==============================================================================
--- trunk/libs/conversion/test/lexical_cast_empty_input_test.cpp (original)
+++ trunk/libs/conversion/test/lexical_cast_empty_input_test.cpp 2012-01-26 12:51:17 EST (Thu, 26 Jan 2012)
@@ -148,8 +148,7 @@
void test_empty_zero_terminated_string()
{
my_string st;
- std::string st2 = boost::lexical_cast<std::string>(st);
- (void)st2;
+ BOOST_CHECK_EQUAL(boost::lexical_cast<std::string>(st), std::string());;
}
unit_test::test_suite *init_unit_test_suite(int, char *[])
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