Is.NullOrEmpty

"Simon Garratt" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <[email protected]>
I need to test if a string is null or an empty string.

I can do:

Assert.That(String.IsNullOrEmpty(firstName), Is.True);

but that doesn't seem to be in the new paradigm.  Is there a better way or
should I make it a feature request?  i.e. Is.NullOrEmpty

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Nunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nunit-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.