| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6192315 commit b0ed1e7
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -66,8 +66,8 @@ const MB = KB * KB; | |||
| 66 | 66 | wcBuf += data; | |
| 67 | 67 | })); | |
| 68 | 68 | ||
| 69 | - wc.on('close', common.mustCall(() => { | ||
| 69 | + process.on('exit', () => { | ||
| 70 | 70 | // Grep always adds one extra byte at the end. | |
| 71 | 71 | assert.strictEqual(wcBuf.trim(), (MB + 1).toString()); | |
| 72 | - })); | ||
| 72 | + }); | ||
| 73 | 73 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments