Skip to content

Commit 0c08231

Browse files
committed
feat: improve TryGetFirstDescendent logic
1 parent 7cb5a7e commit 0c08231

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/FluentAssertions.Analyzers.Tests/Tips/CollectionTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,6 @@ public void CollectionShouldHaveCount_CountShouldBe_TestNoAnalyzer(string assert
351351
[AssertionDiagnostic(@"var array = new string[2, 2]; array.Length.Should().Be(0{0});")]
352352
[AssertionDiagnostic(@"var array = new string[3, 3, 3]; array.Length.Should().Be(0{0});")]
353353
[AssertionDiagnostic(@"int[] array1 = [1, 2, 3]; int[] array2 = [4, 5, 6]; int[] both = [..array1, ..array2]; (array1.Length + array2.Length).Should().Be(both.Length{0});")]
354-
[AssertionDiagnostic("(actual.Count() + 1).Should().Be(1{0}).And.ToString();")]
355354
[Implemented(Reason = "https://github.com/fluentassertions/fluentassertions.analyzers/issues/309")]
356355
public void CollectionShouldHaveCount_LengthShouldBe_TestNoAnalyzer(string assertion) => DiagnosticVerifier.VerifyCSharpDiagnosticUsingAllAnalyzers(new StringBuilder()
357356
.AppendLine("using System;")

0 commit comments

Comments
 (0)