nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #02047
[Bug 770471] Re: Assert.IsEmpty does not support IEnumerable
** Also affects: nunit-3.0
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of NUnit
Core Developers, which is the registrant for NUnit Framework.
https://bugs.launchpad.net/bugs/770471
Title:
Assert.IsEmpty does not support IEnumerable
Status in NUnit Test Framework:
New
Status in NUnit V2 Test Framework:
Fix Committed
Bug description:
Assert.IsEmpty does not support IEnumerable, only ICollection, and
thus will not compile for generic interfaces like IList<T>, which do
not implement the non-generic ICollection.
CollectionAssert.IsEmpty does support IEnumerable, so it appears
reasonable to add an overload for IEnumerable to Assert.
The same is true for both classes' negative forms.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nunit-3.0/+bug/770471/+subscriptions
References