Skip to content

Commit

Permalink
fix nits
Browse files Browse the repository at this point in the history
  • Loading branch information
ruseinov committed Oct 28, 2023
1 parent 5c20528 commit 2db048b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ mod tests {

#[test]
#[should_panic(expected = "each royalty should be at most 100")]
fn validate_roalty_per_account_fails() {
fn validate_royalty_per_account_fails() {
let mut map = TreeMap::new(KEY_PREFIX);

// Fails with more than 100% per account.
Expand All @@ -203,7 +203,7 @@ mod tests {

#[test]
#[should_panic(expected = "total percent of each royalty split must be at most 100")]
fn validate_total_roalties_fails() {
fn validate_total_royalties_fails() {
let mut map = TreeMap::new(KEY_PREFIX);

// Fails with total royalties over 100%.
Expand Down

0 comments on commit 2db048b

Please sign in to comment.