aboutsummaryrefslogtreecommitdiff
path: root/src/test/script_tests.cpp
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@bitpay.com>2013-10-22 05:43:38 -0400
committerJeff Garzik <jgarzik@bitpay.com>2013-10-22 05:43:38 -0400
commit0db9a805bde5050060913462299690020ff798a0 (patch)
treeeaf77cf294810f8f23c14bbd4a83b13f52304068 /src/test/script_tests.cpp
parent125bdead3e9be9a6ce23129409612a4d8501980b (diff)
Revert "Switch to using raw_utf8"
This reverts commit 2ecb7555a9df1e843fd25f588819e4ca1d94b266.
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 079cc49f60..32be914414 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, raw_utf8);
+ string strTest = write_string(tv, false);
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, raw_utf8);
+ string strTest = write_string(tv, false);
if (test.size() < 2) // Allow size > 2; extra stuff ignored (useful for comments)
{
BOOST_ERROR("Bad test: " << strTest);