← Back to team overview

nunit-core team mailing list archive

[Bug 513989] Re: Is.Empty should work for directories

 

** Tags added: v2port

-- 
Is.Empty should work for directories
https://bugs.launchpad.net/bugs/513989
You received this bug notification because you are a member of NUnit
Core Developers, which is the registrant for NUnit Framework.

Status in NUnit Test Framework: Triaged
Status in NUnit V2 Test Framework: Fix Committed

Bug description:
Using Assert.That, the sequence Is.Empty generates either an EmptyStringContstraint or an EmptyCollection constraint.

It's not possible to use it with a DirectoryInfo, but it should be.





References