mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 00:20:08 +01:00
test: remove duplicated allocUnsafeSlow test
PR-URL: https://github.com/nodejs/node/pull/58524 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
This commit is contained in:
parent
ef9cd8f062
commit
eb159a8cfd
|
|
@ -38,7 +38,6 @@ function test(getBuffer) {
|
|||
}
|
||||
|
||||
test(() => Buffer(len));
|
||||
test(() => Buffer.allocUnsafeSlow(len));
|
||||
test(() => Buffer.alloc(len));
|
||||
test(() => Buffer.allocUnsafe(len));
|
||||
test(() => Buffer.allocUnsafeSlow(len));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user