提交 29b819f0 编写于 作者: K Khaled Al-Hassanieh

Fixed eosio.token tests

上级 3b8e6d17
......@@ -239,11 +239,11 @@ BOOST_FIXTURE_TEST_CASE( issue_tests, eosio_token_tester ) try {
issue( N(alice), N(alice), asset::from_string("-1.000 TKN"), "hola" )
);
BOOST_REQUIRE_EQUAL( error( "condition: assertion failed: comparison of assets with different symbols is not allowed" ),
BOOST_REQUIRE_EQUAL( success(),
issue( N(alice), N(alice), asset::from_string("1.00 TKN"), "hola" )
);
BOOST_REQUIRE_EQUAL( error( "condition: assertion failed: comparison of assets with different symbols is not allowed" ),
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" )
);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册