Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
yihau committed Aug 9, 2024
1 parent 1d723e1 commit 140dc5a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sdk/program/src/epoch_rewards.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ mod tests {
}

#[test]
#[should_panic(
expected = "new_distributed_rewards <= self.total_rewards"
)]
#[should_panic(expected = "new_distributed_rewards <= self.total_rewards")]
fn test_epoch_rewards_distribute_panic() {
let mut epoch_rewards = EpochRewards::new(100, 0, 64);
epoch_rewards.distribute(200);
Expand Down

0 comments on commit 140dc5a

Please sign in to comment.