Skip to content

Commit

Permalink
Revert base58_tests, add in script_tests.cpp (dashpay#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
bytzck authored and wagerr-builder committed May 14, 2022
1 parent b98b707 commit 4a11316
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
1 change: 1 addition & 0 deletions src/Makefile.test.include
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ BITCOIN_TESTS =\
test/rpc_tests.cpp \
test/sanity_tests.cpp \
test/scheduler_tests.cpp \
test/script_tests.cpp \
test/script_p2sh_tests.cpp \
test/script_p2pk_tests.cpp \
test/script_p2pkh_tests.cpp \
Expand Down
13 changes: 1 addition & 12 deletions src/test/base58_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,7 @@

#include <boost/test/unit_test.hpp>

UniValue
read_json(const std::string& jsondata)
{
UniValue v;

if (!v.read(jsondata) || !v.isArray())
{
BOOST_ERROR("Parse error.");
return UniValue(UniValue::VARR);
}
return v.get_array();
}
extern UniValue read_json(const std::string& jsondata);

BOOST_FIXTURE_TEST_SUITE(base58_tests, BasicTestingSetup)

Expand Down

0 comments on commit 4a11316

Please sign in to comment.