mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Switch to using raw_utf8
This commit is contained in:
parent
2227389fa8
commit
2ecb7555a9
5 changed files with 16 additions and 16 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue