diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-05 17:29:12 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-05 17:29:12 +0900 |
| commit | 49b0884701a84731652fc934d428932ff6029bd4 (patch) | |
| tree | 7477029b8ed686b9b3b06d960cab2b54ba87b579 /crates/mozart/src/commands/create_project.rs | |
| parent | 4623874d1c95414dcd5ae194d2561f2d98b40982 (diff) | |
| download | php-mozart-49b0884701a84731652fc934d428932ff6029bd4.tar.gz php-mozart-49b0884701a84731652fc934d428932ff6029bd4.tar.zst php-mozart-49b0884701a84731652fc934d428932ff6029bd4.zip | |
chore: remove redundant comments
Diffstat (limited to 'crates/mozart/src/commands/create_project.rs')
| -rw-r--r-- | crates/mozart/src/commands/create_project.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/crates/mozart/src/commands/create_project.rs b/crates/mozart/src/commands/create_project.rs index 5461418..3a6e6ba 100644 --- a/crates/mozart/src/commands/create_project.rs +++ b/crates/mozart/src/commands/create_project.rs @@ -715,10 +715,6 @@ fn tilde_matches(version_normalized: &str, constraint_base: &str) -> bool { mod tests { use super::*; - // ───────────────────────────────────────────────────────────────────────── - // dir_from_package_name tests - // ───────────────────────────────────────────────────────────────────────── - #[test] fn test_directory_from_package_name() { assert_eq!(dir_from_package_name("vendor/package"), "package"); @@ -728,10 +724,6 @@ mod tests { assert_eq!(dir_from_package_name("novendor"), "novendor"); } - // ───────────────────────────────────────────────────────────────────────── - // Target directory validation tests - // ───────────────────────────────────────────────────────────────────────── - #[test] fn test_non_empty_directory_rejected() { let dir = tempfile::tempdir().unwrap(); @@ -770,10 +762,6 @@ mod tests { ); } - // ───────────────────────────────────────────────────────────────────────── - // self.version replacement tests - // ───────────────────────────────────────────────────────────────────────── - #[test] fn test_self_version_replacement() { let mut raw = package::RawPackageData::new("vendor/pkg".to_string()); @@ -811,10 +799,6 @@ mod tests { assert_eq!(raw.require.get("vendor/dep-a").unwrap(), "^1.0"); } - // ───────────────────────────────────────────────────────────────────────── - // Version constraint matching tests - // ───────────────────────────────────────────────────────────────────────── - #[test] fn test_version_matches_caret() { assert!(version_matches_constraint("1.2.0", "1.2.0.0", "^1.0")); |
