Skip to content

Commit

Permalink
chore: fix typos in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ngutech21 committed Apr 2, 2024
1 parent 576b81e commit 114be1d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions moksha-mint/src/mint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -608,11 +608,11 @@ mod tests {
.await?;
assert_eq!(result.total_amount(), 64);

let prv_lst = result.get(result.len() - 2).unwrap();
let lst = result.last().unwrap();
let prv_last = result.get(result.len() - 2).unwrap();
let last = result.last().unwrap();

assert_eq!(prv_lst.amount, 4);
assert_eq!(lst.amount, 16);
assert_eq!(prv_last.amount, 4);
assert_eq!(last.amount, 16);
Ok(())
}

Expand Down

0 comments on commit 114be1d

Please sign in to comment.