| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,7 @@ require('../common'); | |||
| 4 | 4 | var assert = require('assert'); | |
| 5 | 5 | var child_process = require('child_process'); | |
| 6 | 6 | var ChildProcess = child_process.ChildProcess; | |
| 7 | - assert.equal(typeof ChildProcess, 'function'); | ||
| 7 | + assert.strictEqual(typeof ChildProcess, 'function'); | ||
| 8 | 8 | ||
| 9 | 9 | // test that we can call spawn | |
| 10 | 10 | var child = new ChildProcess(); | |
@@ -15,11 +15,11 @@ child.spawn({ | |||
| 15 | 15 | stdio: 'pipe' | |
| 16 | 16 | }); | |
| 17 | 17 | ||
| 18 | - assert.equal(child.hasOwnProperty('pid'), true); | ||
| 18 | + assert.strictEqual(child.hasOwnProperty('pid'), true); | ||
| 19 | 19 | ||
| 20 | 20 | // try killing with invalid signal | |
| 21 | 21 | assert.throws(function() { | |
| 22 | 22 | child.kill('foo'); | |
| 23 | 23 | }, /Unknown signal: foo/); | |
| 24 | 24 | ||
| 25 | - assert.equal(child.kill(), true); | ||
| 25 | + assert.strictEqual(child.kill(), true); | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments