Skip to content
Permalink
Browse files
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: #34199
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
Trott authored and MylesBorins committed Jul 16, 2020
1 parent b20e6ed commit 09faebd9ad14f7db7659a36a0f927e6f5f4d1f01
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/parallel/test-repl-history-navigation.js
@@ -596,7 +596,7 @@ function runTest() {
enumerable: true
});
}
repl.inputStream.run(opts.test);
repl.input.run(opts.test);
});
}

0 comments on commit 09faebd

Please sign in to comment.