Skip to content

Commit c015442

Browse files
committed
style: rm mut fmt inconsistency
1 parent e0b92a5 commit c015442

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
@@ -181,7 +181,7 @@ async fn success() {
181181

182182
#[tokio::test]
183183
async fn fail_with_wrong_validator_list_account() {
184-
let (mut banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
184+
let (banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
185185
setup(1).await;
186186

187187
let wrong_validator_list = Keypair::new();
@@ -264,7 +264,7 @@ async fn fail_double_add() {
264264

265265
#[tokio::test]
266266
async fn fail_wrong_staker() {
267-
let (mut banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
267+
let (banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
268268
setup(1).await;
269269

270270
let malicious = Keypair::new();
@@ -305,7 +305,7 @@ async fn fail_wrong_staker() {
305305

306306
#[tokio::test]
307307
async fn fail_without_signature() {
308-
let (mut banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
308+
let (banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
309309
setup(1).await;
310310

311311
let accounts = vec![
@@ -359,7 +359,7 @@ async fn fail_without_signature() {
359359

360360
#[tokio::test]
361361
async fn fail_with_wrong_stake_program_id() {
362-
let (mut banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
362+
let (banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
363363
setup(1).await;
364364

365365
let wrong_stake_program = Pubkey::new_unique();
@@ -411,7 +411,7 @@ async fn fail_with_wrong_stake_program_id() {
411411

412412
#[tokio::test]
413413
async fn fail_with_wrong_system_program_id() {
414-
let (mut banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
414+
let (banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
415415
setup(1).await;
416416

417417
let wrong_system_program = Pubkey::new_unique();
@@ -730,7 +730,7 @@ async fn fail_with_not_enough_reserve_lamports() {
730730

731731
#[tokio::test]
732732
async fn fail_with_wrong_reserve() {
733-
let (mut banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
733+
let (banks_client, payer, recent_blockhash, stake_pool_accounts, validator_stake) =
734734
setup(1).await;
735735

736736
let wrong_reserve = Pubkey::new_unique();

0 commit comments

Comments
 (0)