-
Notifications
You must be signed in to change notification settings - Fork 30k
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: increase coverage of buffer #12714
Conversation
Hooray! It was at 100% a couple weeks ago. It will be nice to have it back there! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Increase coverage of lib/buffer.js. PR-URL: #12714 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Landed in 04796ee. |
Increase coverage of lib/buffer.js. PR-URL: nodejs#12714 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Lands cleanly but fails with this error: ➜ node git:(v6.x-staging) ❯ tools/test.py parallel/test-buffer-bytelength.js
=== release test-buffer-bytelength ===
Path: parallel/test-buffer-bytelength
assert.js:81
throw new assert.AssertionError({
^
AssertionError: 0 === -1
at Object.<anonymous> (/Users/gib/wrk/com/DANGER/node/test/parallel/test-buffer-bytelength.js:15:8)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:389:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:504:3
Command: out/Release/node /Users/gib/wrk/com/DANGER/node/test/parallel/test-buffer-bytelength.js
[00:00|% 100|+ 0|- 1]: Done |
Should this be backported to |
Increase coverage of
lib/buffer.js
.This should get code coverage on
lib/buffer.js
to 100%.Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
test