From 986e3edb7a197eb90f0aa26d66283b87ca571e1a Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Fri, 23 Oct 2020 10:39:55 -1000 Subject: [PATCH] =?utf8?q?fix=20tests=20=E2=80=93=C2=A0use=20same=20proto?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- test/methods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/methods.js b/test/methods.js index 273532b..082c5df 100644 --- a/test/methods.js +++ b/test/methods.js @@ -62,7 +62,7 @@ test('concat() a varying number of buffers', function (t) { test('concat() works on Uint8Array instances', function (t) { var result = B.concat([new Uint8Array([1, 2]), new Uint8Array([3, 4])]) - var expected = Buffer.from([1, 2, 3, 4]) + var expected = B.from([1, 2, 3, 4]) t.deepEqual(result, expected) t.end() }) -- 2.34.1