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

test: add common.mustNotCall() #11152

Merged
merged 1 commit into from
Feb 6, 2017
Merged

Commits on Feb 6, 2017

  1. test: add common.mustNotCall()

    This commit adds a mustNotCall() helper for testing. This provides
    an alternative to using common.fail() as a callback, or creating
    a callback function for the sole purpose of calling common.fail().
    
    PR-URL: nodejs#11152
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    cjihrig committed Feb 6, 2017
    Configuration menu
    Copy the full SHA
    7dd82dd View commit details
    Browse the repository at this point in the history