From 40539c1f9d932d0ca77ffce98efb44999b8c539f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=D1=91pa=20Dolgorukov?= Date: Thu, 17 Oct 2024 20:58:48 +0500 Subject: [PATCH] coretests: edit the test "asset_current_and_total_supplies_comparative constraints" (#469) * Coretests: implement the test "asset_current_and_total_supplies_comparative_constraints" * Core tests: correct the test "asset_current_and_total_supplies_comparative_constraints" * Add a return statement to the body end of the "asset_current_and_total_supplies_comparative_constraints::assert_asset_beta_registered" function --- tests/core_tests/multiassets_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/core_tests/multiassets_test.cpp b/tests/core_tests/multiassets_test.cpp index 670787af..c5a4948a 100644 --- a/tests/core_tests/multiassets_test.cpp +++ b/tests/core_tests/multiassets_test.cpp @@ -2264,6 +2264,8 @@ bool asset_current_and_total_supplies_comparative_constraints::assert_asset_beta CHECK_AND_ASSERT_MES(alice_wallet->balance(beta_asset_id) == current_supply, false, "Alice has got not exactly " + std::to_string(current_supply) + ' ' + register_ado.descriptor.ticker); } + + return true; } bool asset_current_and_total_supplies_comparative_constraints::public_burn_asset_beta_with_incorrect_supply(currency::core& c, size_t ev_index, const std::vector& events) const