Skip to content

Commit

Permalink
upgrade packages
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenyagusev committed Feb 10, 2022
1 parent bf23e4a commit e3bd323
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/BookFx.Benchmark/BookFx.Benchmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.11.5" />
<PackageReference Include="BenchmarkDotNet" Version="0.13.1" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.0.0.9566">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
10 changes: 5 additions & 5 deletions src/BookFx.Tests/BookFx.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@

<ItemGroup>
<PackageReference Include="EPPlus" Version="4.5.3.2" />
<PackageReference Include="FluentAssertions" Version="5.9.0" />
<PackageReference Include="FsCheck.Xunit" Version="2.14.0" />
<PackageReference Include="JetBrains.Annotations" Version="2019.1.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.3.0" />
<PackageReference Include="FluentAssertions" Version="6.4.0" />
<PackageReference Include="FsCheck.Xunit" Version="2.16.4" />
<PackageReference Include="JetBrains.Annotations" Version="2021.3.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.0.0.9566">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand All @@ -23,7 +23,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
Expand Down
7 changes: 4 additions & 3 deletions src/BookFx.Tests/Validation/BookValidatorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,13 @@ public void Validate_TwoNonUniqueInvalidSheetNames_ErrorsAreHarvested()

var result = BookValidator.Validate(book);

result.ErrorsUnsafe()
result
.ErrorsUnsafe()
.Should()
.BeEquivalentTo(
.BeEquivalentTo(F.List<Error>(
Errors.Book.SheetNameIsNotUnique(invalidName),
Errors.Sheet.NameIsInvalid(invalidName),
Errors.Sheet.NameIsInvalid(invalidName));
Errors.Sheet.NameIsInvalid(invalidName)));
}
}
}
4 changes: 3 additions & 1 deletion src/BookFx.Tests/Validation/BoxValidatorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,9 @@ public void Style_InvalidStyle_Invalid()

result.ErrorsUnsafe()
.Should()
.BeEquivalentTo(Errors.Box.Aggregate(box, inners: List(Errors.Style.FontSizeIsInvalid(invalidFontSize))));
.BeEquivalentTo(List(Errors.Box.Aggregate(
box,
inners: List(Errors.Style.FontSizeIsInvalid(invalidFontSize)))));
}

[Fact]
Expand Down
4 changes: 3 additions & 1 deletion src/BookFx.Tests/Validation/SheetValidatorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ public void Boxes_InvalidBox_Invalid()

result.ErrorsUnsafe()
.Should()
.BeEquivalentTo(Errors.Sheet.Aggregate(sheet, inners: List(Errors.Box.ColSpanIsInvalid(invalidSpan))));
.BeEquivalentTo(List(Errors.Sheet.Aggregate(
sheet,
inners: List(Errors.Box.ColSpanIsInvalid(invalidSpan)))));
}

[Fact]
Expand Down
2 changes: 1 addition & 1 deletion src/BookFx/BookFx.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<ItemGroup>
<PackageReference Include="EPPlus" Version="4.5.3.2" />
<PackageReference Include="JetBrains.Annotations" Version="2019.1.3">
<PackageReference Include="JetBrains.Annotations" Version="2021.3.0">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.0.0.9566">
Expand Down

0 comments on commit e3bd323

Please sign in to comment.