提交 2606fd23 编写于 作者: D Daniel Larimer

fix currency tests

上级 d3b96892
......@@ -243,9 +243,6 @@ BOOST_FIXTURE_TEST_CASE( issue_tests, eosio_token_tester ) try {
issue( N(alice), N(alice), asset::from_string("1.00 TKN"), "hola" )
);
BOOST_REQUIRE_EQUAL( error( "condition: assertion failed: asset symbol has higher precision than expected" ),
issue( N(alice), N(alice), asset::from_string("1.0000 TKN"), "hola" )
);
} FC_LOG_AND_RETHROW()
......@@ -299,9 +296,6 @@ BOOST_FIXTURE_TEST_CASE( transfer_tests, eosio_token_tester ) try {
transfer( N(alice), N(bob), asset::from_string("-1000 CERO"), "hola" )
);
BOOST_REQUIRE_EQUAL( error( "condition: assertion failed: asset symbol has higher precision than expected" ),
transfer( N(alice), N(bob), asset::from_string("1.0 CERO"), "hola" )
);
} FC_LOG_AND_RETHROW()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册