Skip to content

Commit

Permalink
validate zero day maturity fails
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpassmore committed Jun 18, 2024
1 parent 8b02be0 commit e392b51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/eosio.system_rex_matured_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ BOOST_FIXTURE_TEST_CASE( buy_sell_matured_rex, eosio_system_tester ) try {
BOOST_REQUIRE_EQUAL( core_sym::from_string("0.0000"), get_rex_vote_stake( david ) );
BOOST_REQUIRE_EQUAL( init_balance, get_rex_fund( david ) );

// 5.0 Instant maturation
BOOST_REQUIRE_EQUAL( wasm_assert_msg("num_of_maturity_buckets must be positive"), setrexmature( 0, true, true ) );


} FC_LOG_AND_RETHROW()
Expand Down

0 comments on commit e392b51

Please sign in to comment.