← Back to team overview

nunit-core team mailing list archive

[Bug 513989] [NEW] Is.Empty should work for directories

 

Public bug reported:

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.

** Affects: nunit-3.0
     Importance: Medium
         Status: Triaged

** Affects: nunitv2
     Importance: Medium
         Status: Triaged


** Tags: easy

** Tags added: easy

** Also affects: nunit-3.0
   Importance: Undecided
       Status: New

** Changed in: nunit-3.0
       Status: New => Triaged

** Changed in: nunit-3.0
   Importance: Undecided => Medium

** Changed in: nunit-3.0
    Milestone: None => 2.9.4

** Changed in: nunitv2
       Status: New => Triaged

** Changed in: nunitv2
   Importance: Undecided => Medium

** Changed in: nunitv2
    Milestone: None => 2.5.4

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

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.





Follow ups

References