Skip to content

Commit

Permalink
test: fixes that do not affect performance
Browse files Browse the repository at this point in the history
PR-URL: #9011
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
larissayvette authored and Myles Borins committed Nov 11, 2016
1 parent 70eadea commit cc6b2f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-debugger-pid.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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 cc6b2f4

Please sign in to comment.