Switch to using raw_utf8
This commit is contained in:
@@ -131,7 +131,7 @@ BOOST_AUTO_TEST_CASE(script_valid)
|
||||
BOOST_FOREACH(Value& tv, tests)
|
||||
{
|
||||
Array test = tv.get_array();
|
||||
string strTest = write_string(tv, false);
|
||||
string strTest = write_string(tv, raw_utf8);
|
||||
if (test.size() < 2) // Allow size > 2; extra stuff ignored (useful for comments)
|
||||
{
|
||||
BOOST_ERROR("Bad test: " << strTest);
|
||||
@@ -155,7 +155,7 @@ BOOST_AUTO_TEST_CASE(script_invalid)
|
||||
BOOST_FOREACH(Value& tv, tests)
|
||||
{
|
||||
Array test = tv.get_array();
|
||||
string strTest = write_string(tv, false);
|
||||
string strTest = write_string(tv, raw_utf8);
|
||||
if (test.size() < 2) // Allow size > 2; extra stuff ignored (useful for comments)
|
||||
{
|
||||
BOOST_ERROR("Bad test: " << strTest);
|
||||
|
||||
Reference in New Issue
Block a user