mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Review corrections
Corrected stylistic mistakes and simplified a couple of the new tests.
This commit is contained in:
parent
dd7340e5f7
commit
e55342385e
4 changed files with 6 additions and 7 deletions
|
|
@ -93,8 +93,7 @@ BOOST_AUTO_TEST_CASE(null_c_strings_are_serialized_to_nullptr)
|
|||
{
|
||||
const char* const null_str = nullptr;
|
||||
BOOST_CHECK_EQUAL("nullptr", to_string(null_str));
|
||||
// Note the lack of double quotes in the output, as opposed to when the
|
||||
// string "nullptr" is serialized.
|
||||
BOOST_CHECK_EQUAL("\"nullptr\"", to_string("nullptr"));
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue