From 7f3b27fa4ade8c86438ad088d6fbbce720fb811e 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. PR-URL: https://github.com/nodejs/node/pull/26619 Fixes: https://github.com/nodejs/node/issues/26480 Reviewed-By: Richard Lau Reviewed-By: Beth Griggs Reviewed-By: Michaƫl Zasso --- 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',