clean up
This commit is contained in:
@@ -353,5 +353,8 @@ fn module_edges_excludes_intra_module_relationships() {
|
||||
let graph = graph.qualify();
|
||||
let edges = graph.module_edges();
|
||||
|
||||
assert!(edges.is_empty(), "intra-module relationships should not produce edges");
|
||||
assert!(
|
||||
edges.is_empty(),
|
||||
"intra-module relationships should not produce edges"
|
||||
);
|
||||
}
|
||||
|
||||
@@ -89,7 +89,12 @@ fn merge_project_edges_ignores_crates_with_no_matching_module() {
|
||||
.unwrap(),
|
||||
);
|
||||
project_graph.add_relationship(
|
||||
Relationship::new("external-lib", "myapp-domain", RelationshipKind::Composition).unwrap(),
|
||||
Relationship::new(
|
||||
"external-lib",
|
||||
"myapp-domain",
|
||||
RelationshipKind::Composition,
|
||||
)
|
||||
.unwrap(),
|
||||
);
|
||||
|
||||
graph.merge_project_edges(&project_graph);
|
||||
|
||||
Reference in New Issue
Block a user