Commit bae695f4 authored by Sam Shull's avatar Sam Shull Committed by Italo A. Casas
Browse files

test: add regex check in test-buffer-bad-overload

Creating a buffer from a number should throw an error with a message
that describes the issue.

PR-URL: https://github.com/nodejs/node/pull/10038


Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 1e98ea3f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment