aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/command/repository_command_test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/command/repository_command_test.rs')
-rw-r--r--crates/shirabe/tests/command/repository_command_test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/tests/command/repository_command_test.rs b/crates/shirabe/tests/command/repository_command_test.rs
index 48ca301a..36b74cc8 100644
--- a/crates/shirabe/tests/command/repository_command_test.rs
+++ b/crates/shirabe/tests/command/repository_command_test.rs
@@ -7,7 +7,7 @@ use shirabe_php_shim::PhpMixed;
/// Read the composer.json in the CWD and decode it.
fn read_composer_json() -> serde_json::Value {
- let mut json = JsonFile::new("./composer.json".to_string(), None, None).unwrap();
+ let json = JsonFile::new("./composer.json".to_string(), None, None).unwrap();
let read = json.read().unwrap();
serde_json::from_str(&JsonFile::encode(&read).unwrap()).unwrap()
}