From b581bb0d1039d9cd11cab286217b86d707897640 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Tue, 12 Mar 2019 22:05:19 +0100 Subject: [PATCH] test: fix test by removing node-inspect/lib/_inspect If this file is loaded with Node.js build without ssl, it will load 'node-inspect/lib/internal/inspect_client' as well. Due to that two deprecation warnings will be emitted instead of one and the test fails. It should be safe to just test all other cases and to ignore this specific file. --- test/parallel/test-require-deps-deprecation.js | 1 - 1 file changed, 1 deletion(-) diff --git a/test/parallel/test-require-deps-deprecation.js b/test/parallel/test-require-deps-deprecation.js index 5bee24a5db19ce..e2c8e9c1e69ad5 100644 --- a/test/parallel/test-require-deps-deprecation.js +++ b/test/parallel/test-require-deps-deprecation.js @@ -4,7 +4,6 @@ const common = require('../common'); const assert = require('assert'); const deprecatedModules = [ - 'node-inspect/lib/_inspect', 'node-inspect/lib/internal/inspect_client', 'node-inspect/lib/internal/inspect_repl', 'v8/tools/SourceMap',