-
-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Labels
Description
This is really just a nice to have.
list.Count().Should().Be(0);
list.Count().Should().Be(1);
are correctly simplified into:
list.Should().HaveCount(0);
list.Should().HaveCount(1);
It would be nice, if they could be simplified directly into the ContainSingle
and BeEmpty
instead.
list.Should().ContainSingle();
list.Should().BeEmpty();