test: remove obsolete code

The removed line does not add anything of value to the test. It was
removed to simplify the test.

PR-URL: https://github.com/nodejs/node/pull/25731
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
Ruben Bridgewater 2019-01-27 01:59:24 +01:00 committed by Daniel Bevenius
parent 8c12a78d20
commit 3732d7786b

View File

@ -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()', () => {});