Skip to content

Commit

Permalink
test: replace deprecated function call from test-repl-history-navigation
Browse files Browse the repository at this point in the history
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 09faebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-repl-history-navigation.js
Expand Up @@ -596,7 +596,7 @@ function runTest() {
enumerable: true
});
}
repl.inputStream.run(opts.test);
repl.input.run(opts.test);
});
}

Expand Down

0 comments on commit 09faebd

Please sign in to comment.