File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -585,11 +585,11 @@ BOOST_AUTO_TEST_CASE(script_build)
585585
586586 for (unsigned int idx = 0 ; idx < json_good.size (); idx++) {
587587 const UniValue& tv = json_good[idx];
588- tests_good.insert (tv.get_array ().write ());
588+ tests_good.insert (tv.get_array ().write (1 , 4 ));
589589 }
590590 for (unsigned int idx = 0 ; idx < json_bad.size (); idx++) {
591591 const UniValue& tv = json_bad[idx];
592- tests_bad.insert (tv.get_array ().write ());
592+ tests_bad.insert (tv.get_array ().write (1 , 4 ));
593593 }
594594 }
595595
@@ -608,7 +608,7 @@ BOOST_AUTO_TEST_CASE(script_build)
608608 }
609609 BOOST_FOREACH (TestBuilder& test, bad) {
610610 test.Test (false );
611- std::string str = test.GetJSON ().write ();
611+ std::string str = test.GetJSON ().write (1 , 4 );
612612#ifndef UPDATE_JSON_TESTS
613613 if (tests_bad.count (str) == 0 ) {
614614 BOOST_CHECK_MESSAGE (false , " Missing auto script_invalid test: " + test.GetComment ());
You can’t perform that action at this time.
0 commit comments