[Boost-bugs] [Boost C++ Libraries] #10318: [Unit Test Framework] documentation minor error

Subject: [Boost-bugs] [Boost C++ Libraries] #10318: [Unit Test Framework] documentation minor error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-08-07 10:49:37


#10318: [Unit Test Framework] documentation minor error
-------------------------------------------------+-------------------------
 Reporter: Reza Jahanbakhshi | Owner: rogeeff
  <reza.jahanbakhshi@…> | Status: new
     Type: Bugs | Component: test
Milestone: To Be Determined | Severity: Cosmetic
  Version: Boost 1.55.0 |
 Keywords: |
-------------------------------------------------+-------------------------
 Hi,[[BR]]

 In "Unit Test Framework > Tutorials > Boost.Test driven development"
 documentation, 5th test is

 const_string cs3( cs1 );[[BR]]
 BOOST_CHECK_EQUAL( std::strcmp( '''cs1'''.data(), "test_string" ), 0 );

 Which I think it should be

 const_string cs3( cs1 );[[BR]]
 BOOST_CHECK_EQUAL( std::strcmp( '''cs3'''.data(), "test_string" ), 0 );

 Notice cs1 is changed to cs3

 Here is the link to documentation page:
 http://www.boost.org/doc/libs/1_55_0/libs/test/doc/html/tutorials/new-
 year-resolution.html

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10318>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC