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 addaleax committed Feb 6, 2019
1 parent 2c737a8 commit c866b52
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 c866b52

Please sign in to comment.