Skip to content

Commit

Permalink
Update FluentAssertions to latest (#1089)
Browse files Browse the repository at this point in the history
* Update FluentAssertions to latest

* Format DocUtilitiesTests

---------

Co-authored-by: Lasath Fernando <[email protected]>
  • Loading branch information
stefannikolei and shocklateboy92 authored Dec 25, 2023
1 parent 3939698 commit 66b2978
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<PackageVersion Include="CliWrap" Version="3.3.3" />
<PackageVersion Include="DiffEngine" Version="6.5.7" />
<PackageVersion Include="DotNet.Glob" Version="3.1.3" />
<PackageVersion Include="FluentAssertions" Version="5.10.3" />
<PackageVersion Include="FluentAssertions" Version="6.12.0" />
<PackageVersion Include="GitHubActionsTestLogger" Version="2.3.2" />
<PackageVersion Include="Ignore" Version="0.1.48" />
<PackageVersion Include="ini-parser-netstandard" Version="2.5.2" />
Expand Down
4 changes: 2 additions & 2 deletions Src/CSharpier.Tests/DocUtilitiesTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void RemoveInitialDoubleHardLine_Should_Not_Remove_Concated_HardLine()

DocUtilities.RemoveInitialDoubleHardLine(doc);

concat.Contents.Should().BeEquivalentTo(Doc.HardLine);
concat.Contents.Should().BeEquivalentTo(new[] { Doc.HardLine });
}

[Test]
Expand All @@ -70,7 +70,7 @@ public void RemoveInitialDoubleHardLine_Should_Not_Remove_Deep_Concated_HardLine

DocUtilities.RemoveInitialDoubleHardLine(doc);

concat.Contents.Should().BeEquivalentTo(Doc.HardLine);
concat.Contents.Should().BeEquivalentTo(new[] { Doc.HardLine });
}

[Test]
Expand Down

0 comments on commit 66b2978

Please sign in to comment.