** Changed in: nunit-3.0
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/920472
Title:
CollectionAssert.IsNotEmpty must dispose Enumerator
Status in NUnit Test Framework:
Fix Released
Status in NUnit V2 Test Framework:
Fix Released
Bug description:
protected static bool IsEmpty(IEnumerable enumerable)
{
ICollection collection = enumerable as ICollection;
if (collection != null)
return collection.Count == 0;
else
return !enumerable.GetEnumerator().MoveNext();
}
enumerable.GetEnumerator() - is not disposed
To manage notifications about this bug go to:
https://bugs.launchpad.net/nunit-3.0/+bug/920472/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~nunit-core
Post to : [email protected]
Unsubscribe : https://launchpad.net/~nunit-core
More help : https://help.launchpad.net/ListHelp