Skip to content

Commit

Permalink
chore: resolve compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderlinne committed Oct 11, 2024
1 parent 2ea51d4 commit b8b6ed0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ArchUnitNETTests/Loader/ArchLoaderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,8 @@ public void SameFullNameInMultipleAssemblies()
type.Namespace.FullName == "DuplicateClassAcrossAssemblies"
);
Assert.Equal(2, types.Count());
Assert.Single(types.Where(type => type.Assembly.Name.StartsWith("LoaderTestAssembly")));
Assert.Single(
types.Where(type => type.Assembly.Name.StartsWith("OtherLoaderTestAssembly"))
);
Assert.Single(types, type => type.Assembly.Name.StartsWith("LoaderTestAssembly"));
Assert.Single(types, type => type.Assembly.Name.StartsWith("OtherLoaderTestAssembly"));
}

[Fact]
Expand Down

0 comments on commit b8b6ed0

Please sign in to comment.