From 2f7173c97f48f14bee77001830bbc3d3406a7058 Mon Sep 17 00:00:00 2001 From: Mathias Buus Date: Wed, 23 May 2018 20:22:45 +0200 Subject: [PATCH] fix corruption test --- test/corruption.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/corruption.js b/test/corruption.js index 04b8c84..7ae3adf 100644 --- a/test/corruption.js +++ b/test/corruption.js @@ -32,6 +32,7 @@ tape('feed with corrupted inflate generates error', function (t) { t.error(err, 'no error') var val = messages.Entry.decode(data) val.inflate = 1 // Introduce corruption + val.deleted = undefined // To keep the same size var corruptData = messages.Entry.encode(val) var storage = a.source._storage storage.dataOffset(index, [], function (err, offset, size) {