Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 7d31de0

Browse files
committed
Remove unnecessary mut
1 parent 811fbb1 commit 7d31de0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

program/tests/initialize_mint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use token_interface::state::mint::Mint;
2020
#[test_case::test_case(TOKEN_PROGRAM_ID ; "p-token")]
2121
#[tokio::test]
2222
async fn initialize_mint(token_program: Pubkey) {
23-
let mut context = ProgramTest::new("token_program", TOKEN_PROGRAM_ID, None)
23+
let context = ProgramTest::new("token_program", TOKEN_PROGRAM_ID, None)
2424
.start_with_context()
2525
.await;
2626

program/tests/initialize_mint2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use token_interface::state::mint::Mint;
2020
#[test_case::test_case(TOKEN_PROGRAM_ID ; "p-token")]
2121
#[tokio::test]
2222
async fn initialize_mint2(token_program: Pubkey) {
23-
let mut context = ProgramTest::new("token_program", TOKEN_PROGRAM_ID, None)
23+
let context = ProgramTest::new("token_program", TOKEN_PROGRAM_ID, None)
2424
.start_with_context()
2525
.await;
2626

program/tests/initialize_multisig.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use spl_token::state::Multisig;
1717
#[test_case::test_case(TOKEN_PROGRAM_ID ; "p-token")]
1818
#[tokio::test]
1919
async fn initialize_multisig(token_program: Pubkey) {
20-
let mut context = ProgramTest::new("token_program", TOKEN_PROGRAM_ID, None)
20+
let context = ProgramTest::new("token_program", TOKEN_PROGRAM_ID, None)
2121
.start_with_context()
2222
.await;
2323

program/tests/initialize_multisig2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use spl_token::state::Multisig;
1717
#[test_case::test_case(TOKEN_PROGRAM_ID ; "p-token")]
1818
#[tokio::test]
1919
async fn initialize_multisig2(token_program: Pubkey) {
20-
let mut context = ProgramTest::new("token_program", TOKEN_PROGRAM_ID, None)
20+
let context = ProgramTest::new("token_program", TOKEN_PROGRAM_ID, None)
2121
.start_with_context()
2222
.await;
2323

0 commit comments

Comments
 (0)