Skip to content

Commit

Permalink
chore(deps): update dependency fluentassertions.analyzers to v0.22.0 (#…
Browse files Browse the repository at this point in the history
…726)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Aug 18, 2023
1 parent 2192418 commit 1b9185c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<PackageVersion Include="coverlet.msbuild" Version="6.0.0" />
<PackageVersion Include="Docker.DotNet" Version="3.125.15" />
<PackageVersion Include="FluentAssertions" Version="6.11.0" />
<PackageVersion Include="FluentAssertions.Analyzers" Version="0.21.0" />
<PackageVersion Include="FluentAssertions.Analyzers" Version="0.22.0" />
<PackageVersion Include="Microsoft.AspNet.WebApi.Client" Version="5.2.9" />
<PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="7.0.0" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public void Test_AccumulateAndConvertToContract()

var convertedGraphContract = GraphTranslationUtility.AccumulateAndConvertToContract(dependencyGraphs);

convertedGraphContract.Count.Should().Be(2);
convertedGraphContract.Should().HaveCount(2);
convertedGraphContract.Keys.Should().BeEquivalentTo(new List<string>() { "file1.json", "file2.json" });

var graph1 = convertedGraphContract["file1.json"];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public async Task DetectComponents_Graph_Happy_PathAsync()
explicitlyReferencedComponents.Should().ContainSingle().And.Contain(this.detectedComponents[0].Component.Id);

var actualGraph = matchingGraph.Value.Graph;
actualGraph.Keys.Count.Should().Be(2);
actualGraph.Keys.Should().HaveCount(2);
actualGraph[this.detectedComponents[0].Component.Id].Count.Should().Be(1);
actualGraph[this.detectedComponents[0].Component.Id].Should().Contain(this.detectedComponents[1].Component.Id);
actualGraph[this.detectedComponents[1].Component.Id].Should().BeNull();
Expand Down Expand Up @@ -335,7 +335,7 @@ public async Task DetectComponents_Graph_AccumulatesGraphsOnSameLocationAsync()
explicitlyReferencedComponents.Should().Contain(this.detectedComponents[1].Component.Id);

var actualGraph = matchingGraph.Value.Graph;
actualGraph.Keys.Count.Should().Be(2);
actualGraph.Keys.Should().HaveCount(2);
actualGraph[this.detectedComponents[0].Component.Id].Count.Should().Be(1);
actualGraph[this.detectedComponents[0].Component.Id].Should().Contain(this.detectedComponents[1].Component.Id);
actualGraph[this.detectedComponents[1].Component.Id].Count.Should().Be(1);
Expand Down

0 comments on commit 1b9185c

Please sign in to comment.