node/test/addons/stringbytes-external-exceed...
Joyee Cheung 362694401f
src: rename ERR_STRING_TOO_LARGE to ERR_STRING_TOO_LONG
The old error name and message were trying to be consistent with
ERR_BUFFER_TOO_LARGE but they were not really accurate.
The kStringMaxLength was measured in number of characters,
not number of bytes. The name ERR_STRING_TOO_LARGE also
seems a bit awkward. This patch tries to correct them before
they get released to users.

PR-URL: https://github.com/nodejs/node/pull/19864
Refs: https://github.com/nodejs/node/pull/19739
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
2018-04-10 01:08:10 +02:00
..
binding.cc test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
binding.gyp test: build addons with V8_DEPRECATION_WARNINGS=1 2016-05-10 17:10:08 +02:00
test-stringbytes-external-at-max.js test: simplify test skipping 2017-07-04 12:41:49 +03:00
test-stringbytes-external-exceed-max-by-1-ascii.js src: rename ERR_STRING_TOO_LARGE to ERR_STRING_TOO_LONG 2018-04-10 01:08:10 +02:00
test-stringbytes-external-exceed-max-by-1-base64.js src: rename ERR_STRING_TOO_LARGE to ERR_STRING_TOO_LONG 2018-04-10 01:08:10 +02:00
test-stringbytes-external-exceed-max-by-1-binary.js src: rename ERR_STRING_TOO_LARGE to ERR_STRING_TOO_LONG 2018-04-10 01:08:10 +02:00
test-stringbytes-external-exceed-max-by-1-hex.js src: rename ERR_STRING_TOO_LARGE to ERR_STRING_TOO_LONG 2018-04-10 01:08:10 +02:00
test-stringbytes-external-exceed-max-by-1-utf8.js src: rename ERR_STRING_TOO_LARGE to ERR_STRING_TOO_LONG 2018-04-10 01:08:10 +02:00
test-stringbytes-external-exceed-max-by-2.js test: support odd value for kStringMaxLength 2017-08-04 08:44:23 +02:00
test-stringbytes-external-exceed-max.js src: rename ERR_STRING_TOO_LARGE to ERR_STRING_TOO_LONG 2018-04-10 01:08:10 +02:00