We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef0096b commit 2d2b6e6Copy full SHA for 2d2b6e6
src/FluentAssertions.Analyzers.Tests/Tips/CollectionTests.cs
@@ -316,7 +316,7 @@ public class CollectionTests
316
[AssertionDiagnostic("actual.ToArray().Count().Should().Be(1{0}).And.ToString();")]
317
[Implemented]
318
public void CollectionShouldHaveCount_CountShouldBe1_TestAnalyzer(string assertion) => VerifyCSharpDiagnosticCodeBlock(assertion, DiagnosticMetadata.CollectionShouldContainSingle_CountShouldBe1);
319
-
+
320
[DataTestMethod]
321
[AssertionDiagnostic("(array.Count() + 1).Should().Be(0{0}).And.ToString();")]
322
[AssertionDiagnostic("(array.Count() + 1).Should().Be(1{0}).And.ToString();")]
0 commit comments