From 235417039fe3f53a674e499acd700a90096b4e02 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 4 Jul 2020 06:53:01 -0700 Subject: [PATCH] test: replace deprecated function call from test-repl-history-navigation test-repl-history-navigation fails with NODE_PENDING_DEPRECATION=1. Replace deprecated repl.inputStream with repl.input. PR-URL: https://github.com/nodejs/node/pull/34199 Reviewed-By: Anna Henningsen Reviewed-By: Ruben Bridgewater Reviewed-By: Trivikram Kamat Reviewed-By: James M Snell --- test/parallel/test-repl-history-navigation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-repl-history-navigation.js b/test/parallel/test-repl-history-navigation.js index 640106f38ed4c7..032e1ba2fe7fc6 100644 --- a/test/parallel/test-repl-history-navigation.js +++ b/test/parallel/test-repl-history-navigation.js @@ -560,7 +560,7 @@ function runTest() { enumerable: true }); } - repl.inputStream.run(opts.test); + repl.input.run(opts.test); }); }