Skip to content

Commit 7d576ab

Browse files
committed
Fix truncation test
1 parent 9a27a20 commit 7d576ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/simple.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ test('should emit error when stream is broken in a different way?', function(t)
6969
t.plan(1);
7070
// this is the smallest truncated file I found that reproduced the bug, but
7171
// longer files will also work.
72-
var truncated = fs.readFileSync('test/fixtures/brokencrc.bz2');
72+
var truncated = fs.readFileSync('test/fixtures/truncated.bz2');
7373
var unbz2 = unbzip2Stream();
7474
unbz2.on('error', function (err) {
7575
t.ok(true, err);

0 commit comments

Comments
 (0)