We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70eadea commit cc6b2f4Copy full SHA for cc6b2f4
test/parallel/test-debugger-pid.js
@@ -29,8 +29,8 @@ interfacer.on('line', function(line) {
29
switch (++lineCount) {
30
case 1:
31
line = line.replace(/^(debug> *)+/, '');
32
- var msg = 'There was an internal error in Node\'s debugger. ' +
33
- 'Please report this bug.';
+ const msg = 'There was an internal error in Node\'s debugger. ' +
+ 'Please report this bug.';
34
expected = `(node:${pid}) ${msg}`;
35
break;
36
@@ -50,5 +50,5 @@ interfacer.on('line', function(line) {
50
});
51
52
interfacer.on('exit', function(code, signal) {
53
- assert.ok(code == 1, 'Got unexpected code: ' + code);
+ assert.strictEqual(code, 1, `Got unexpected code: ${code}`);
54
0 commit comments