pester/Pester — pull request #135 by dlwyatt (2014-06-08 19:15:41+00:00)
Title: Validation of Assertion Method in Should

Loosely related to the fix in the Issue76 branch, this update validates user input to the Should function. Instead of producing the stock command not found exception, Should will now produce an error of "'BeNulOrEmpty' is not a valid Should operator." (where the user had misspelled BeNullOrEmpty, in this case.)

This doesn't affect functionality (all the same tests that failed before this change would still fail), it just produces a more friendly error message, which makes it clear that it's the caller's fault rather than a Pester bug.