Skip to content

Commit

Permalink
Use "scanline" as the non-writable stream in test
Browse files Browse the repository at this point in the history
The "list" stream is a Transform stream which is writable at
least in current node versions.
  • Loading branch information
tomhughes committed Dec 23, 2016
1 parent 5366170 commit 72e5c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/stream-api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ test('stream-api: valid writable', function(t) {
});

test('stream-api: invalid writable', function(t) {
var fn = tilelive.createWriteStream.bind(tilelive, src, { type: 'list' });
var fn = tilelive.createWriteStream.bind(tilelive, src, { type: 'scanline' });
t.throws(fn);
t.end();
});

0 comments on commit 72e5c73

Please # to comment.