Permalink
Browse files

test: fixes that do not affect performance

PR-URL: #9011
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information...
larissayvette authored and jasnell committed Oct 10, 2016
1 parent 89643b6 commit 1bb1b3abe4f9912547ed15f35d4e3793a9231de1
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/parallel/test-debugger-pid.js
@@ -29,8 +29,8 @@ interfacer.on('line', function(line) {
switch (++lineCount) {
case 1:
line = line.replace(/^(debug> *)+/, '');
var msg = 'There was an internal error in Node\'s debugger. ' +
'Please report this bug.';
const msg = 'There was an internal error in Node\'s debugger. ' +
'Please report this bug.';
expected = `(node:${pid}) ${msg}`;
break;

@@ -50,5 +50,5 @@ interfacer.on('line', function(line) {
});

interfacer.on('exit', function(code, signal) {
assert.ok(code == 1, 'Got unexpected code: ' + code);
assert.strictEqual(code, 1, `Got unexpected code: ${code}`);
});

0 comments on commit 1bb1b3a

Please sign in to comment.