diff options
Diffstat (limited to 'test/parallel/test-debugger-util-regression.js')
-rw-r--r-- | test/parallel/test-debugger-util-regression.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/parallel/test-debugger-util-regression.js b/test/parallel/test-debugger-util-regression.js index a2461a480c..92630b6a4b 100644 --- a/test/parallel/test-debugger-util-regression.js +++ b/test/parallel/test-debugger-util-regression.js @@ -39,12 +39,10 @@ proc.stdout.on('data', (data) => { stdout.includes('> 4') && nextCount < 4) { nextCount++; proc.stdin.write('n\n'); - } - else if (stdout.includes('{ a: \'b\' }')) { + } else if (stdout.includes('{ a: \'b\' }')) { clearTimeout(timer); proc.stdin.write('.exit\n'); - } - else if (stdout.includes('program terminated')) { + } else if (stdout.includes('program terminated')) { // Catch edge case present in v4.x // process will terminate after call to util.inspect common.fail('the program should not terminate'); |