aboutsummaryrefslogtreecommitdiff
path: root/src/test/script_tests.cpp
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2013-10-22 01:20:02 -0700
committerGavin Andresen <[email protected]>2013-10-22 01:20:02 -0700
commit125bdead3e9be9a6ce23129409612a4d8501980b (patch)
tree9b87499106f280a32edab404351c5b7e3835e046 /src/test/script_tests.cpp
parentMerge pull request #3125 from Diapolo/splash_testnet (diff)
parentSwitch to using raw_utf8 (diff)
downloaddiscoin-125bdead3e9be9a6ce23129409612a4d8501980b.tar.xz
discoin-125bdead3e9be9a6ce23129409612a4d8501980b.zip
Merge pull request #2740 from constantined/constantined
UTF-8 support for JSON-RPC
Diffstat (limited to 'src/test/script_tests.cpp')
-rw-r--r--src/test/script_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/script_tests.cpp b/src/test/script_tests.cpp
index 32be91441..079cc49f6 100644
--- a/src/test/script_tests.cpp
+++ b/src/test/script_tests.cpp
@@ -118,7 +118,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);
@@ -142,7 +142,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);