diff options
| author | constantined <[email protected]> | 2013-07-23 04:51:29 +0300 |
|---|---|---|
| committer | constantined <[email protected]> | 2013-07-23 04:51:29 +0300 |
| commit | 2ecb7555a9df1e843fd25f588819e4ca1d94b266 (patch) | |
| tree | 6f6db5baacd8cb224861f5a0104046b8c9f8eb99 /src/test/script_tests.cpp | |
| parent | JSON Spirit updated to v4.06 (diff) | |
| download | discoin-2ecb7555a9df1e843fd25f588819e4ca1d94b266.tar.xz discoin-2ecb7555a9df1e843fd25f588819e4ca1d94b266.zip | |
Switch to using raw_utf8
Diffstat (limited to 'src/test/script_tests.cpp')
| -rw-r--r-- | src/test/script_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/script_tests.cpp b/src/test/script_tests.cpp index e7ad52627..b24f15d89 100644 --- a/src/test/script_tests.cpp +++ b/src/test/script_tests.cpp @@ -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); |