From efe20fcf765955a7a1ce8ff88ccbc15ce6186a64 Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Thu, 26 Jan 2012 17:51:17 +0000 Subject: [PATCH] Tiny change to test case from #6452 [SVN r76708] --- test/lexical_cast_empty_input_test.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/lexical_cast_empty_input_test.cpp b/test/lexical_cast_empty_input_test.cpp index 3b94f5f..df05981 100755 --- a/test/lexical_cast_empty_input_test.cpp +++ b/test/lexical_cast_empty_input_test.cpp @@ -148,8 +148,7 @@ struct my_string { void test_empty_zero_terminated_string() { my_string st; - std::string st2 = boost::lexical_cast(st); - (void)st2; + BOOST_CHECK_EQUAL(boost::lexical_cast(st), std::string());; } unit_test::test_suite *init_unit_test_suite(int, char *[])