FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: consolidating buffer.read() by larissayvette · Pull Request #11297 · nodejs/node · GitHub

/ node Public

test: consolidating buffer.read() - #11297

Closed
larissayvette wants to merge 2 commits into
nodejs:masterfrom
larissayvette:read-buffer
Closed

test: consolidating buffer.read()#11297
larissayvette wants to merge 2 commits into
nodejs:masterfrom
larissayvette:read-buffer

Conversation

Copy link
Copy Markdown
Contributor
Checklist
Affected core subsystem(s)

test
Merging buffer-read test present in test-buffer-alloc.js to test-buffer-read.js file

nodejs-github-bot added the test Issues and PRs related to the tests. label Feb 10, 2017

Trott left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM if CI is green.

mscdex added the buffer Issues and PRs related to the buffer subsystem. label Feb 10, 2017

// attempt to overflow buffers, similar to previous bug in array buffers
assert.throws(() => Buffer.allocUnsafe(8).readFloatLE(0xffffffff),
RangeError);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Can we check the actual errors itself, so that we can avoid problems like #11162?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I'm in favor of this, but since this PR is a straightforward re-organization of the tests and not actual changes/enhancements, I'd be OK with that happening in a subsequent PR.

Trott commented Feb 14, 2017

Copy link
Copy Markdown
Member

jasnell commented Feb 16, 2017

Copy link
Copy Markdown
Member

one failure in ci is unrelated

jasnell pushed a commit that referenced this pull request Feb 17, 2017
PR-URL: #11297
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>

jasnell commented Feb 17, 2017

Copy link
Copy Markdown
Member

landed in 8a25e31

jasnell closed this Feb 17, 2017
larissayvette deleted the read-buffer branch February 17, 2017 09:27
italoacasas pushed a commit to italoacasas/node that referenced this pull request Feb 20, 2017
PR-URL: nodejs#11297
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
italoacasas pushed a commit that referenced this pull request Feb 22, 2017
PR-URL: #11297
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
italoacasas mentioned this pull request Feb 25, 2017

jasnell commented Mar 7, 2017

Copy link
Copy Markdown
Member

would need a backport PR to land on v4

jasnell pushed a commit that referenced this pull request Mar 7, 2017
PR-URL: #11297
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
MylesBorins pushed a commit that referenced this pull request Mar 9, 2017
PR-URL: #11297
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
MylesBorins mentioned this pull request Mar 9, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

buffer Issues and PRs related to the buffer subsystem. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL