aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/util/zip_test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/util/zip_test.rs')
-rw-r--r--crates/shirabe/tests/util/zip_test.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/crates/shirabe/tests/util/zip_test.rs b/crates/shirabe/tests/util/zip_test.rs
index b80dd17..4d883e0 100644
--- a/crates/shirabe/tests/util/zip_test.rs
+++ b/crates/shirabe/tests/util/zip_test.rs
@@ -18,7 +18,7 @@ fn test_throws_exception_if_zip_extension_is_not_loaded() {
}
#[test]
-#[ignore = "ZipArchive::new is todo!() in the php-shim"]
+#[ignore]
fn test_returns_nullif_the_zip_is_not_found() {
let result = Zip::get_composer_json(&fixture("invalid.zip")).unwrap();
@@ -26,7 +26,7 @@ fn test_returns_nullif_the_zip_is_not_found() {
}
#[test]
-#[ignore = "ZipArchive::new is todo!() in the php-shim"]
+#[ignore]
fn test_returns_null_if_the_zip_is_empty() {
let result = Zip::get_composer_json(&fixture("empty.zip")).unwrap();
@@ -34,19 +34,19 @@ fn test_returns_null_if_the_zip_is_empty() {
}
#[test]
-#[ignore = "ZipArchive::new is todo!() in the php-shim"]
+#[ignore]
fn test_throws_exception_if_the_zip_has_no_composer_json() {
assert!(Zip::get_composer_json(&fixture("nojson.zip")).is_err());
}
#[test]
-#[ignore = "ZipArchive::new is todo!() in the php-shim"]
+#[ignore]
fn test_throws_exception_if_the_composer_json_is_in_a_sub_subfolder() {
assert!(Zip::get_composer_json(&fixture("subfolders.zip")).is_err());
}
#[test]
-#[ignore = "ZipArchive::new is todo!() in the php-shim"]
+#[ignore]
fn test_returns_composer_json_in_zip_root() {
let result = Zip::get_composer_json(&fixture("root.zip")).unwrap();
@@ -57,7 +57,7 @@ fn test_returns_composer_json_in_zip_root() {
}
#[test]
-#[ignore = "ZipArchive::new is todo!() in the php-shim"]
+#[ignore]
fn test_returns_composer_json_in_first_folder() {
let result = Zip::get_composer_json(&fixture("folder.zip")).unwrap();
@@ -68,13 +68,13 @@ fn test_returns_composer_json_in_first_folder() {
}
#[test]
-#[ignore = "ZipArchive::new is todo!() in the php-shim"]
+#[ignore]
fn test_multiple_top_level_dirs_is_invalid() {
assert!(Zip::get_composer_json(&fixture("multiple.zip")).is_err());
}
#[test]
-#[ignore = "ZipArchive::new is todo!() in the php-shim"]
+#[ignore]
fn test_returns_composer_json_from_first_subfolder() {
let result = Zip::get_composer_json(&fixture("single-sub.zip")).unwrap();