Skip to content

Commit c1b9cf3

Browse files
committed
Update architectural rule
Signed-off-by: Patrick Luca Fazzi <patrick91@live.it>
1 parent 2f8dcb2 commit c1b9cf3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_architecture.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ fn test_architectural_rules() {
4747
"rust_arkitect::rust_file",
4848
"rust_arkitect::rust_project",
4949
"rust_arkitect::rule",
50-
"rust_arkitect::dependency_parsing",
5150
"ansi_term",
5251
"log",
5352
"std::fmt",
@@ -63,7 +62,7 @@ fn test_architectural_rules() {
6362

6463
.rules_for_crate("rust_arkitect::rust_file")
6564
.it_may_depend_on(&[
66-
"rust_arkitect::dependency_parsing", // Used to parse dependencies
65+
"rust_arkitect::dependency_parsing", // Used to parse dependencies, only this module is allowed to depend on it
6766
"std::path", // Used to navigate the file system and get the logical name of the module
6867
"syn", // Used to parse Rust code and build the AST
6968
"toml", // Used to read Cargo.toml and find the crate of the file

0 commit comments

Comments
 (0)