You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
356 B

// This test ensures SourceStream.pipe(DestStream) returns DestStream
var common = require('../common');
var Stream = require('stream').Stream;
var assert = require('assert');
var util = require('util');
var sourceStream = new Stream();
var destStream = new Stream();
var result = sourceStream.pipe(destStream);
assert.strictEqual(result, destStream);