diff options
Diffstat (limited to 'deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/test/nothing.js')
-rw-r--r-- | deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/test/nothing.js | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/test/nothing.js b/deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/test/nothing.js deleted file mode 100644 index 6ac604965..000000000 --- a/deps/npm/node_modules/npm-registry-client/node_modules/concat-stream/test/nothing.js +++ /dev/null @@ -1,25 +0,0 @@ -var concat = require('../') -var test = require('tape') - -test('no callback stream', function (t) { - var stream = concat() - stream.write('space') - stream.end(' cats') - t.end() -}) - -test('no encoding set, no data', function (t) { - var stream = concat(function(data) { - t.deepEqual(data, []) - t.end() - }) - stream.end() -}) - -test('encoding set to string, no data', function (t) { - var stream = concat({ encoding: 'string' }, function(data) { - t.deepEqual(data, '') - t.end() - }) - stream.end() -}) |