Closed FantasyTeddy closed 7 months ago
The current descriptions for these two analysis rules is wrong:
.Should().NotBeEmpty()
.Should().Contain()
.Should().BeEmpty()
.Should().NotContain()
// Act var actual = new List<int> {0}; // Assert actual .Where(x => x <= 0) .Should().NotBeEmpty(); // or actual .Where(x => x > 0) .Should().BeEmpty();
@FantasyTeddy thanks for reporting this!
Description
The current descriptions for these two analysis rules is wrong:
.Should().NotBeEmpty()
.Should().Contain()
.Should().BeEmpty()
.Should().NotContain()
Complete minimal example reproducing the issue
Versions