Inheritance of assertions

Jul 14, 2012 at 1:30 AM

Hi,

why is it not possible to do enumerable.Should().BeSameAs(enumerable2) ?

I would expect that all assertions I can make on objects also are valid for enumerables..

 

Regards



Coordinator
Jul 14, 2012 at 7:44 AM

We never needed that because most folks are just interested in whether both collections contain the same elements. If you need it, please create an issue so that we can include it in the next release.