test: remove literal error messages · nodejs/node@f8bc5ab

Original file line numberDiff line numberDiff line change

@@ -38,13 +38,11 @@ deflater.on('drain', function() {

3838
3939

process.once('exit', function() {

4040

assert.strictEqual(

41-

beforeFlush, true,

42-

'before calling flush, writable stream should need to drain');

41+

beforeFlush, true);

4342

assert.strictEqual(

44-

afterFlush, false,

45-

'after calling flush, writable stream should not need to drain');

43+

afterFlush, false);

4644

assert.strictEqual(

47-

drainCount, 1, 'the deflater should have emitted a single drain event');

45+

drainCount, 1);

4846

assert.strictEqual(

49-

flushCount, 2, 'flush should be called twice');

47+

flushCount, 2);

5048

});