-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc,test: args to buffer.copy
can be Uint8Arrays
#11486
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if CI is green
test/parallel/test-buffer-copy.js
Outdated
} | ||
} | ||
|
||
// Test that the source can be a Uint8Array, doo. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/doo/too/ ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lpinca lol yes, thanks for pointing out. done! 😄
This was semi-overlooked in nodejs#10236 because it always worked and didn’t need additional changes. Ref: nodejs#10236
2851c32
to
6e49735
Compare
Landed in cba1020 |
This will need a backport PR to land in v4.x |
This was semi-overlooked in #10236 because it always worked and didn’t need additional changes.
Ref: #10236
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
buffer
CI: https://ci.nodejs.org/job/node-test-commit/8059/