← Back to team overview

nunit-core team mailing list archive

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

 

** Changed in: nunitv2
       Status: Triaged => Fix Committed

** Changed in: nunitv2
     Assignee: (unassigned) => Charlie Poole (charlie.poole)

-- 
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