Skip to content
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

test: fix allocUnsafe uninitialized buffer check #12290

Closed

Commits on Apr 9, 2017

  1. test: fix allocUnsafe uninitialized buffer check

    Fixes parallel/test-buffer-bindingobj-no-zerofill to properly check
    that buffers created with `Buffer.allocUnsafe()` are not zero-filled.
    
    The test introduced in nodejs#11706 passes even if the buffer has been
    zero-filled and fails if none of the buffer values are zero.
    
    Signed-off-by: Karl Cheng <[email protected]>
    Refs: nodejs#11706
    Qantas94Heavy committed Apr 9, 2017
    Configuration menu
    Copy the full SHA
    5700fc8 View commit details
    Browse the repository at this point in the history