Skip to content

Commit

Permalink
Bump to version 0.1.95 (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
perryqh authored Apr 23, 2024
1 parent 2e20594 commit eed084b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 32 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
31 changes: 0 additions & 31 deletions src/packs/checker/architecture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,37 +315,6 @@ mod tests {
test_check(&checker_with_layers(), &mut test_checker)
}

struct ArchitectureTestCase {
from_pack_name: String,
from_pack_layer: Option<String>,
from_pack_dependencies: HashSet<String>,
from_pack_enforce_architecture: Option<CheckerSetting>,
to_pack_name: String,
to_pack_layer: Option<String>,
layers: Vec<String>,
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<String>,
package_layer: Option<String>,
Expand Down

0 comments on commit eed084b

Please sign in to comment.