Commit c00f6479 authored by Christy Leung's avatar Christy Leung Committed by Rich Trott
Browse files

test: refactor test-internal-modules

* var -> const
* add RegExp to assert.throws() to check error message

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


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 1fddf5b6
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