From e4426a8517cd92c37f7a19fafc298775cc264a89 Mon Sep 17 00:00:00 2001 From: Andras Date: Fri, 8 Feb 2019 23:31:40 -0500 Subject: [PATCH] fix typo in test --- test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.js b/test.js index a43ee74..7c8d370 100644 --- a/test.js +++ b/test.js @@ -322,7 +322,7 @@ function _copyObject(to, from) { function makeSysBuffer(a, b, c) { // node-v4.4 and v5.8 had a weird from() that broke on strings with "not a typed array" error if (nodeVersion < 10) return new SysBuffer(a, b, c); - return (typeof a === 'number') ? SysBuffer.alloc(a) : sysBuffer.from(a, b, c); + return (typeof a === 'number') ? SysBuffer.alloc(a) : SysBuffer.from(a, b, c); } function setVersion(ver) {