| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1c1312e commit f8bc5ab
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -38,13 +38,11 @@ deflater.on('drain', function() { | |||
| 38 | 38 | ||
| 39 | 39 | process.once('exit', function() { | |
| 40 | 40 | assert.strictEqual( | |
| 41 | - beforeFlush, true, | ||
| 42 | - 'before calling flush, writable stream should need to drain'); | ||
| 41 | + beforeFlush, true); | ||
| 43 | 42 | assert.strictEqual( | |
| 44 | - afterFlush, false, | ||
| 45 | - 'after calling flush, writable stream should not need to drain'); | ||
| 43 | + afterFlush, false); | ||
| 46 | 44 | assert.strictEqual( | |
| 47 | - drainCount, 1, 'the deflater should have emitted a single drain event'); | ||
| 45 | + drainCount, 1); | ||
| 48 | 46 | assert.strictEqual( | |
| 49 | - flushCount, 2, 'flush should be called twice'); | ||
| 47 | + flushCount, 2); | ||
| 50 | 48 | }); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments