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.

14 lines
329 B

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