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: improve the code in test-pipe.js #10452

Closed
wants to merge 1 commit into from
Closed

Commits on Dec 27, 2016

  1. test: improve the code in test-pipe.js

    * use const and let instead of var
    * use common.mustCall to control functions executions
    * use assert.strictEqual instead of assert.equal
    * use assert.ifError to handle errors
    * use arrow functions
    * remove console.log and process.stdout.write
    edsadr committed Dec 27, 2016
    Configuration menu
    Copy the full SHA
    448d193 View commit details
    Browse the repository at this point in the history