diff options
Diffstat (limited to 'crates/shirabe/tests/util/tar_test.rs')
| -rw-r--r-- | crates/shirabe/tests/util/tar_test.rs | 10 |
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] |
