Commit 44e704f1 authored by Rich Trott's avatar Rich Trott
Browse files

test: refactor test-fs-read-stream-inherit

Refactor to take advantage of block scoping to isolate tests. Checks in
exit handlers now reside with the relevant test block. Where test cases
start and end is more clear.

Also: Some use of `common.mustCall()` and improved wrapping/indentation.

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


Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
parent 3daa4b1f
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