aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/util/tar_test.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-21 01:19:55 +0900
committernsfisis <nsfisis@gmail.com>2026-06-21 01:47:58 +0900
commitb5a9d37a7880b05cb3ba1fdbe5b8873295621514 (patch)
treefa16db033aa869f0aa4517ba5e9543a033e36e71 /crates/shirabe/tests/util/tar_test.rs
parente050356c9ba8e1a2c20d2fc842924e189f3cc89e (diff)
downloadphp-shirabe-b5a9d37a7880b05cb3ba1fdbe5b8873295621514.tar.gz
php-shirabe-b5a9d37a7880b05cb3ba1fdbe5b8873295621514.tar.zst
php-shirabe-b5a9d37a7880b05cb3ba1fdbe5b8873295621514.zip
style: apply rustfmt to ported test files
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/util/tar_test.rs')
-rw-r--r--crates/shirabe/tests/util/tar_test.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/crates/shirabe/tests/util/tar_test.rs b/crates/shirabe/tests/util/tar_test.rs
index 3a8aa75..6234108 100644
--- a/crates/shirabe/tests/util/tar_test.rs
+++ b/crates/shirabe/tests/util/tar_test.rs
@@ -42,14 +42,20 @@ fn test_throws_exception_if_the_composer_json_is_in_a_sub_subfolder() {
#[ignore = "PharData::new is todo!() in the php-shim"]
fn test_returns_composer_json_in_tar_root() {
let result = Tar::get_composer_json(&fixture("root.tar.gz")).unwrap();
- assert_eq!(Some("{\n \"name\": \"foo/bar\"\n}\n".to_string()), result);
+ assert_eq!(
+ Some("{\n \"name\": \"foo/bar\"\n}\n".to_string()),
+ result
+ );
}
#[test]
#[ignore = "PharData::new is todo!() in the php-shim"]
fn test_returns_composer_json_in_first_folder() {
let result = Tar::get_composer_json(&fixture("folder.tar.gz")).unwrap();
- assert_eq!(Some("{\n \"name\": \"foo/bar\"\n}\n".to_string()), result);
+ assert_eq!(
+ Some("{\n \"name\": \"foo/bar\"\n}\n".to_string()),
+ result
+ );
}
#[test]