Skip to content

Commit

Permalink
test: remove obsolete code
Browse files Browse the repository at this point in the history
The removed line does not add anything of value to the test. It was
removed to simplify the test.

PR-URL: #25731
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
  • Loading branch information
BridgeAR authored and danbev committed Feb 6, 2019
1 parent 8c12a78 commit 3732d77
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/parallel/test-repl-tab-complete-no-warn.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const testMe = repl.start('', putIn);
// `Runtime.executionContextCreated` listener
process.on('warning', common.mustNotCall());

putIn.run(['.clear']);
putIn.run(['async function test() {']);
for (let i = 0; i < DEFAULT_MAX_LISTENERS; i++) {
testMe.complete('await Promise.resolve()', () => {});
Expand Down

0 comments on commit 3732d77

Please sign in to comment.