From 66b2978263a2f9aa0b3bd900f2c6ac90b68caaac Mon Sep 17 00:00:00 2001 From: Stefan Nikolei Date: Mon, 25 Dec 2023 05:35:42 +0100 Subject: [PATCH] Update FluentAssertions to latest (#1089) * Update FluentAssertions to latest * Format DocUtilitiesTests --------- Co-authored-by: Lasath Fernando --- Directory.Packages.props | 2 +- Src/CSharpier.Tests/DocUtilitiesTests.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 3241fa18d..9bdf37fdd 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -8,7 +8,7 @@ - + diff --git a/Src/CSharpier.Tests/DocUtilitiesTests.cs b/Src/CSharpier.Tests/DocUtilitiesTests.cs index e99850831..96b085f0e 100644 --- a/Src/CSharpier.Tests/DocUtilitiesTests.cs +++ b/Src/CSharpier.Tests/DocUtilitiesTests.cs @@ -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] @@ -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]