Skip to content

Commit

Permalink
Fix truncation test
Browse files Browse the repository at this point in the history
  • Loading branch information
sfriesel committed Jan 29, 2019
1 parent 9a27a20 commit 7d576ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ test('should emit error when stream is broken in a different way?', function(t)
t.plan(1);
// this is the smallest truncated file I found that reproduced the bug, but
// longer files will also work.
var truncated = fs.readFileSync('test/fixtures/brokencrc.bz2');
var truncated = fs.readFileSync('test/fixtures/truncated.bz2');
var unbz2 = unbzip2Stream();
unbz2.on('error', function (err) {
t.ok(true, err);
Expand Down

0 comments on commit 7d576ab

Please sign in to comment.