From 114be1d0dae79416adc2b6199122e44396eb0ea2 Mon Sep 17 00:00:00 2001 From: ngutech21 Date: Tue, 2 Apr 2024 15:51:38 +0200 Subject: [PATCH] chore: fix typos in tests --- moksha-mint/src/mint.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/moksha-mint/src/mint.rs b/moksha-mint/src/mint.rs index 9f0d8e20..b11e0638 100644 --- a/moksha-mint/src/mint.rs +++ b/moksha-mint/src/mint.rs @@ -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(()) }