Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that null never matches It.IsRegex #385

Merged
merged 1 commit into from
Jun 21, 2017
Merged

Commits on Jun 21, 2017

  1. Ensure that null never matches It.IsRegex

    Currently, matching `null` against any `It.IsRegex` placeholder will
    result in an `ArgumentNullException` being thrown by the framework.
    This is unintuitive.
    
    This changes Moq behavior so that `null` will simply never match any
    `It.IsRegex`.
    stakx committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    24555ce View commit details
    Browse the repository at this point in the history