Commit 73ae2d18 authored by mpmckenna8's avatar mpmckenna8 Committed by Ilkka Myller
Browse files

test: cleanup parallel/test-fs-realpath.js

Replaced .indexOf() with .includes() for more clarity as to
what it is doing.

Many of the instances of var changed to const.

Instances of assert.equal() refactored to assert.strictEqual() or
assert.ifError()

Removed the unlinkSync() call in the exit event handler because it
probably only handles files in the testing tmp directory so there is
no need to unlink them.

PR-URL: https://github.com/nodejs/node/pull/8769


Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarIlkka Myller <ilkka.myller@nodefield.com>
parent 52b6cfb6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment