0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
Evan Lucas b6207906c4 fs: pass err to callback if buffer is too big
In fs.readFile, if an encoding is specified and toString fails, do not
throw an error. Instead, pass the error to the callback.

Fixes: https://github.com/nodejs/node/issues/2767
PR-URL: https://github.com/nodejs/node/pull/3485
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
2015-10-23 16:09:46 -05:00
..
abort
addons test: add node::MakeCallback() test coverage 2015-10-23 18:43:06 +02:00
cctest
debugger
disabled
fixtures util: Remove p, has been deprecated for years 2015-10-19 20:52:56 +02:00
gc
internet test: skip test-dns-ipv6.js if ipv6 is unavailable 2015-10-20 12:07:22 -07:00
message test: remove flaky status from eval_messages test 2015-10-20 12:16:00 -07:00
parallel fs: pass err to callback if buffer is too big 2015-10-23 16:09:46 -05:00
pummel
sequential test: fix flaky test-child-process-emfile 2015-10-20 15:41:37 -07:00
testpy
timers
.eslintrc
common.js test: disable test-tick-processor - aix and be ppc 2015-10-23 11:21:22 -04:00