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: fix test/pummel/test-fs-watch-file.js #25384

Closed
wants to merge 1 commit into from

Commits on Jan 8, 2019

  1. test: fix test/pummel/test-fs-watch-file.js

    test-fs-watch-file.js fails for two reasons. First, there are cases
    where it is checking the error message for an error whose message has
    changed since the test was written. Change these instances to check for
    an error code instead.
    
    Second, there is an instance where it tries to remove a listener but
    fails because `common.mustNotCall()` returns a differnet instance of a
    function on each call. Store the function in a variable name so it can
    be removed as a listener on a file.
    Trott committed Jan 8, 2019
    Configuration menu
    Copy the full SHA
    320dc5d View commit details
    Browse the repository at this point in the history