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:
Michaël Zasso 2025-06-02 13:32:58 +02:00 committed by GitHub
parent ef9cd8f062
commit eb159a8cfd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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));