← Back to team overview

nunit-core team mailing list archive

[Bug 644248] Re: Is.TypeOf<Foo>() shoul have an alias Is.OfType<Foo>()

 

Not being added at this time. Users can, of course, define their own
syntax.

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

-- 
Is.TypeOf<Foo>() shoul have an alias Is.OfType<Foo>()
https://bugs.launchpad.net/bugs/644248
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.

Status in NUnit V2 Test Framework: Opinion

Bug description:
Something about the wording of Is.TypeOf<Foo>() makes this read as though the test is checking that the actual object is the Type Foo.  An alias that would read better and avoid this confusion would be Is.OfType<Foo>() which reads in a way that developer might actually ask this statement.





References