Sha256: ea2ab5d7df6ac379a03f55e57b09b6bdcd58cfdd67349b651c8ae2366411b9ef
Contents?: true
Size: 345 Bytes
Versions: 5
Compression:
Stored size: 345 Bytes
Contents
'use strict'; require('../common'); var assert = require('assert'); var Readable = require('stream').Readable; var _readCalled = false; function _read(n) { _readCalled = true; this.push(null); } var r = new Readable({ read: _read }); r.resume(); process.on('exit', function() { assert.equal(r._read, _read); assert(_readCalled); });
Version data entries
5 entries across 4 versions & 1 rubygems