diff --git a/test/streamsearch.test.js b/test/streamsearch.test.js index b9f71af..75146f7 100644 --- a/test/streamsearch.test.js +++ b/test/streamsearch.test.js @@ -243,7 +243,7 @@ test('streamsearch', async t => { t.plan(9) const expected = [ [false, Buffer.from('t\0\0'), 0, 1], - [false, Buffer.from('shello'), 0, 7] + [false, Buffer.from('eshello'), 0, 7] ] const needle = 'test' const s = new Streamsearch(needle)