Skip to content

Commit 2db048b

Browse files
committed
fix nits
1 parent 5c20528 commit 2db048b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

near-contract-standards/src/non_fungible_token/payout/payout_impl.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ mod tests {
189189

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

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

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

209209
// Fails with total royalties over 100%.

0 commit comments

Comments
 (0)