Skip to content

Commit df122ea

Browse files
committed
style: rm mut fmt inconsistency
1 parent 81cd8c6 commit df122ea

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

program/tests/vsa_add.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ async fn success() {
179179

180180
#[tokio::test]
181181
async fn fail_with_wrong_validator_list_account() {
182-
let (mut banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
182+
let (banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
183183
setup(1).await;
184184

185185
let wrong_validator_list = Keypair::new();
@@ -262,7 +262,7 @@ async fn fail_double_add() {
262262

263263
#[tokio::test]
264264
async fn fail_wrong_staker() {
265-
let (mut banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
265+
let (banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
266266
setup(1).await;
267267

268268
let malicious = Keypair::new();
@@ -303,7 +303,7 @@ async fn fail_wrong_staker() {
303303

304304
#[tokio::test]
305305
async fn fail_without_signature() {
306-
let (mut banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
306+
let (banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
307307
setup(1).await;
308308

309309
let accounts = vec![
@@ -357,7 +357,7 @@ async fn fail_without_signature() {
357357

358358
#[tokio::test]
359359
async fn fail_with_wrong_stake_program_id() {
360-
let (mut banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
360+
let (banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
361361
setup(1).await;
362362

363363
let wrong_stake_program = Pubkey::new_unique();
@@ -409,7 +409,7 @@ async fn fail_with_wrong_stake_program_id() {
409409

410410
#[tokio::test]
411411
async fn fail_with_wrong_system_program_id() {
412-
let (mut banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
412+
let (banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
413413
setup(1).await;
414414

415415
let wrong_system_program = Pubkey::new_unique();
@@ -728,7 +728,7 @@ async fn fail_with_not_enough_reserve_lamports() {
728728

729729
#[tokio::test]
730730
async fn fail_with_wrong_reserve() {
731-
let (mut banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
731+
let (banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
732732
setup(1).await;
733733

734734
let wrong_reserve = Pubkey::new_unique();

0 commit comments

Comments
 (0)