| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 27789b2 commit 3e5dd7a
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,8 +1,8 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | - var common = require('../common'); | ||
| 3 | - var assert = require('assert'); | ||
| 4 | - var spawn = require('child_process').spawn; | ||
| 5 | - var cat = spawn(common.isWindows ? 'cmd' : 'cat'); | ||
| 2 | + const common = require('../common'); | ||
| 3 | + const assert = require('assert'); | ||
| 4 | + const spawn = require('child_process').spawn; | ||
| 5 | + const cat = spawn(common.isWindows ? 'cmd' : 'cat'); | ||
| 6 | 6 | ||
| 7 | 7 | cat.stdout.on('end', common.mustCall(function() {})); | |
| 8 | 8 | cat.stderr.on('data', common.fail); | |
@@ -13,6 +13,6 @@ cat.on('exit', common.mustCall(function(code, signal) { | |||
| 13 | 13 | assert.strictEqual(signal, 'SIGTERM'); | |
| 14 | 14 | })); | |
| 15 | 15 | ||
| 16 | - assert.equal(cat.killed, false); | ||
| 16 | + assert.strictEqual(cat.killed, false); | ||
| 17 | 17 | cat.kill(); | |
| 18 | - assert.equal(cat.killed, true); | ||
| 18 | + assert.strictEqual(cat.killed, true); | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments