From 3609c4575e5e55638921d319b2f73230b402c1f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCrg=C3=BCn=20Day=C4=B1o=C4=9Flu?= Date: Wed, 4 Dec 2024 12:27:29 +0100 Subject: [PATCH] fix typo --- test/streamsearch.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)