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 <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • 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
Original file line number Diff line number Diff line change
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.