Skip to content

Commit

Permalink
unwrap result in new test
Browse files Browse the repository at this point in the history
  • Loading branch information
krisbitney committed May 3, 2024
1 parent 2a7861b commit 7711651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion substrate/frame/staking/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7015,7 +7015,7 @@ mod staking_interface {
);

// Unbond all of the funds in stash.
Staking::chill(RuntimeOrigin::signed(11));
Staking::chill(RuntimeOrigin::signed(11)).unwrap();
Staking::unbond(RuntimeOrigin::signed(11), 1000).unwrap();
assert_eq!(
Staking::ledger(11.into()).unwrap(),
Expand Down

0 comments on commit 7711651

Please sign in to comment.