diff options
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")); |
