Skip to content

Commit

Permalink
update ut
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyShi22 committed Nov 17, 2023
1 parent 8dc2133 commit 885a784
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions bcos-framework/test/unittests/interfaces/FeaturesTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,15 @@ BOOST_AUTO_TEST_CASE(feature)
BOOST_CHECK_EQUAL(keys[0], "bugfix_revert");
BOOST_CHECK_EQUAL(keys[1], "bugfix_statestorage_hash");
BOOST_CHECK_EQUAL(keys[2], "bugfix_evm_create2_delegatecall_staticcall_codecopy");
BOOST_CHECK_EQUAL(keys[3], "feature_dmc2serial");
BOOST_CHECK_EQUAL(keys[4], "feature_sharding");
BOOST_CHECK_EQUAL(keys[5], "feature_rpbft");
BOOST_CHECK_EQUAL(keys[6], "feature_paillier");
BOOST_CHECK_EQUAL(keys[7], "feature_balance");
BOOST_CHECK_EQUAL(keys[8], "feature_balance_precompiled");
BOOST_CHECK_EQUAL(keys[9], "feature_balance_policy1");
BOOST_CHECK_EQUAL(keys[3], "bugfix_event_log_order");
BOOST_CHECK_EQUAL(keys[4], "bugfix_delegatecall_noaddr_return");
BOOST_CHECK_EQUAL(keys[5], "feature_dmc2serial");
BOOST_CHECK_EQUAL(keys[6], "feature_sharding");
BOOST_CHECK_EQUAL(keys[7], "feature_rpbft");
BOOST_CHECK_EQUAL(keys[8], "feature_paillier");
BOOST_CHECK_EQUAL(keys[9], "feature_balance");
BOOST_CHECK_EQUAL(keys[10], "feature_balance_precompiled");
BOOST_CHECK_EQUAL(keys[11], "feature_balance_policy1");
}

BOOST_AUTO_TEST_SUITE_END()
2 changes: 1 addition & 1 deletion bcos-utilities/bcos-utilities/BoostLogInitializer.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class BoostLogInitializer
<< "|"
<< boost::log::expressions::attr<boost::log::attributes::current_thread_id::value_type>(
"ThreadID")
<< "|" << boost::log::expressions::smessage);
<< "\t" << boost::log::expressions::smessage);
}

template <typename T>
Expand Down

0 comments on commit 885a784

Please sign in to comment.