| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 70eadea commit cc6b2f4
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -29,8 +29,8 @@ interfacer.on('line', function(line) { | |||
| 29 | 29 | switch (++lineCount) { | |
| 30 | 30 | case 1: | |
| 31 | 31 | line = line.replace(/^(debug> *)+/, ''); | |
| 32 | - var msg = 'There was an internal error in Node\'s debugger. ' + | ||
| 33 | - 'Please report this bug.'; | ||
| 32 | + const msg = 'There was an internal error in Node\'s debugger. ' + | ||
| 33 | + 'Please report this bug.'; | ||
| 34 | 34 | expected = `(node:${pid}) ${msg}`; | |
| 35 | 35 | break; | |
| 36 | 36 | ||
@@ -50,5 +50,5 @@ interfacer.on('line', function(line) { | |||
| 50 | 50 | }); | |
| 51 | 51 | ||
| 52 | 52 | interfacer.on('exit', function(code, signal) { | |
| 53 | - assert.ok(code == 1, 'Got unexpected code: ' + code); | ||
| 53 | + assert.strictEqual(code, 1, `Got unexpected code: ${code}`); | ||
| 54 | 54 | }); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments