aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/util/auth_helper_test.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-27 03:52:05 +0900
committernsfisis <nsfisis@gmail.com>2026-06-27 04:21:34 +0900
commit2b51554ff59d1e5cbf8dd2db65d278b0202a9102 (patch)
treef4d9b0abf4df9b5e363e3bd65511d70e3d5ada00 /crates/shirabe/tests/util/auth_helper_test.rs
parentcc07b5abb83a40d678401c335bdc49bb81b72c5f (diff)
downloadphp-shirabe-2b51554ff59d1e5cbf8dd2db65d278b0202a9102.tar.gz
php-shirabe-2b51554ff59d1e5cbf8dd2db65d278b0202a9102.tar.zst
php-shirabe-2b51554ff59d1e5cbf8dd2db65d278b0202a9102.zip
refactor: fix compiler warnings and clippy warnings
Diffstat (limited to 'crates/shirabe/tests/util/auth_helper_test.rs')
-rw-r--r--crates/shirabe/tests/util/auth_helper_test.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/shirabe/tests/util/auth_helper_test.rs b/crates/shirabe/tests/util/auth_helper_test.rs
index 133fd75..b760fc8 100644
--- a/crates/shirabe/tests/util/auth_helper_test.rs
+++ b/crates/shirabe/tests/util/auth_helper_test.rs
@@ -470,7 +470,7 @@ fn expected_auth_setting(username: &str, password: &str) -> PhpMixed {
#[test]
fn test_store_auth_automatically() {
- let mut f = set_up();
+ let f = set_up();
let origin = "github.com";
expects_authentication(&f.io, origin, "my_username", "my_password");
@@ -497,7 +497,7 @@ fn test_store_auth_automatically() {
#[test]
fn test_store_auth_with_prompt_yes_answer() {
- let mut f = set_up();
+ let f = set_up();
let origin = "github.com";
expects_authentication(&f.io, origin, "my_username", "my_password");
let config_source_name = "https://api.gitlab.com/source";
@@ -536,7 +536,7 @@ fn test_store_auth_with_prompt_yes_answer() {
#[test]
fn test_store_auth_with_prompt_no_answer() {
- let mut f = set_up();
+ let f = set_up();
let origin = "github.com";
let config_source_name = "https://api.gitlab.com/source";