diff options
author | Benjamin Zaslavsky <benjamin.zaslavsky@gmail.com> | 2017-12-24 09:11:29 +0100 |
---|---|---|
committer | Anatoli Papirovski <apapirovski@mac.com> | 2018-01-03 13:59:52 -0500 |
commit | 30892c8fb432ac8ee33eae1144bcce704906a855 (patch) | |
tree | 4710e221538094ace05f58bbaf369df531011307 /lib | |
parent | e6a401e0ae01952294f867fbbd715937f8557718 (diff) | |
download | android-node-v8-30892c8fb432ac8ee33eae1144bcce704906a855.tar.gz android-node-v8-30892c8fb432ac8ee33eae1144bcce704906a855.tar.bz2 android-node-v8-30892c8fb432ac8ee33eae1144bcce704906a855.zip |
test: fix require-deps-deprecation for installed deps
Test test-require-deps-deprecation.js was failing when user already had
node installed with acorn in require.resolve range.
Modified test to acknowledge the possibility and throw only if acorn is
found in the deps directory.
PR-URL: https://github.com/nodejs/node/pull/17848
Fixes: https://github.com/nodejs/node/issues/17148
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions