Skip to content

Commit

Permalink
Merge pull request #94 from studix/shakyTest
Browse files Browse the repository at this point in the history
fix component name order in case of ComponentIntersectionException
  • Loading branch information
fgather authored Jul 22, 2021
2 parents b4d48c7 + f121d17 commit 01b1298
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion ArchUnitNET/Domain/PlantUml/ClassDiagramAssociation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private PlantUmlComponent GetComponentOf(IType clazz)
private ISet<string> GetComponentNames(ISet<PlantUmlComponent> associatedComponents)
{
ISet<string> associatedComponentNames = new HashSet<string>();
foreach (PlantUmlComponent associatedComponent in associatedComponents)
foreach (PlantUmlComponent associatedComponent in associatedComponents.OrderBy(component => component.ComponentName.AsString()))
{
associatedComponentNames.Add(associatedComponent.ComponentName.AsString());
}
Expand Down
2 changes: 0 additions & 2 deletions todo.txt

This file was deleted.

0 comments on commit 01b1298

Please sign in to comment.