test: skip in test-buffer-tostring-rangeerror on allocation failure · nodejs/node@bffd4ec · GitHub
Skip to content

Commit bffd4ec

Browse files
joyeecheungmarco-ippolito
authored andcommitted
test: skip in test-buffer-tostring-rangeerror on allocation failure
If the buffer allocation fails due to insufficient memory, there is no point continue testing toString(). PR-URL: #58415 Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 7c449ed commit bffd4ec

1 file changed

Lines changed: 19 additions & 5 deletions

File tree

test/parallel/test-buffer-tostring-rangeerror.js

Lines changed: 19 additions & 5 deletions

0 commit comments

Comments
 (0)