Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Prev Previous commit
Next Next commit
Check for ok result in storage tests.
  • Loading branch information
pepyakin committed Jul 3, 2018
commit 2dae257ca91246344dd57425ca19fc40c146ccd6
2 changes: 1 addition & 1 deletion substrate/runtime/staking/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ fn account_removal_removes_storage() {
// the balance of account 1 is will be below than exsistential threshold.
//
// This should lead to the removal of all storage associated with this account.
Staking::transfer(&1, 2.into(), 20);
assert_ok!(Staking::transfer(&1, 2.into(), 20));

// Verify that all entries from account 1 is removed, while
// entries from account 2 is in place.
Expand Down