diff --git a/Cargo.toml b/Cargo.toml index 38b57b40..39baa009 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "pks" -version = "0.1.94" +version = "0.1.95" edition = "2021" description = "Welcome! Please see https://github.com/alexevanczuk/packs for more information!" license = "MIT" diff --git a/src/packs/checker/architecture.rs b/src/packs/checker/architecture.rs index 82d90e3d..66e7d621 100644 --- a/src/packs/checker/architecture.rs +++ b/src/packs/checker/architecture.rs @@ -315,37 +315,6 @@ mod tests { test_check(&checker_with_layers(), &mut test_checker) } - struct ArchitectureTestCase { - from_pack_name: String, - from_pack_layer: Option, - from_pack_dependencies: HashSet, - from_pack_enforce_architecture: Option, - to_pack_name: String, - to_pack_layer: Option, - layers: Vec, - expected_result: bool, - } - - impl Default for ArchitectureTestCase { - fn default() -> Self { - ArchitectureTestCase { - from_pack_name: String::from("packs/foo"), - from_pack_layer: Some(String::from("utilities")), - from_pack_enforce_architecture: Some(CheckerSetting::True), - from_pack_dependencies: HashSet::from_iter(vec![String::from( - "packs/bar", - )]), - to_pack_name: String::from("packs/bar"), - to_pack_layer: Some(String::from("product")), - layers: vec![ - String::from("product"), - String::from("utilities"), - ], - expected_result: false, - } - } - } - fn validate_layers( config_layers: Vec, package_layer: Option,