diff options
author | cjihrig <cjihrig@gmail.com> | 2017-11-09 15:36:04 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2017-11-10 12:54:05 -0500 |
commit | 6f02da255f803719cda330f69213ad9a11ef4b04 (patch) | |
tree | 00322afce9da20ae56c408e291fa312bcdcf7d4b /deps/uv/docs | |
parent | 8e814fcf3aa82ddf796a4714c43bed26381e6883 (diff) | |
download | android-node-v8-6f02da255f803719cda330f69213ad9a11ef4b04.tar.gz android-node-v8-6f02da255f803719cda330f69213ad9a11ef4b04.tar.bz2 android-node-v8-6f02da255f803719cda330f69213ad9a11ef4b04.zip |
test: cover vm.runInNewContext()
There is currently one if branch missing coverage in lib/vm.js.
This commit adds a test to cover the case where the third
argument to runInNewContext() is a string.
PR-URL: https://github.com/nodejs/node/pull/16906
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Diffstat (limited to 'deps/uv/docs')
0 files changed, 0 insertions, 0 deletions