-
Notifications
You must be signed in to change notification settings - Fork 29.1k
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
buffer: throw when writing beyond buffer #54588
base: main
Are you sure you want to change the base?
Conversation
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
This reverts commit dd8eeec. PR-URL: nodejs#54588 Refs: nodejs#54524
This reverts commit dd8eeec. PR-URL: nodejs#54588 Refs: nodejs#54524
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #54588 +/- ##
=======================================
Coverage 87.32% 87.33%
=======================================
Files 649 649
Lines 182621 182632 +11
Branches 35042 35040 -2
=======================================
+ Hits 159480 159498 +18
- Misses 16397 16398 +1
+ Partials 6744 6736 -8
|
This reverts commit dd8eeec. PR-URL: nodejs#54588 Refs: nodejs#54524
@@ -121,3 +121,16 @@ assert.throws(() => { | |||
}, common.expectsError({ | |||
code: 'ERR_BUFFER_OUT_OF_BOUNDS', | |||
})); | |||
|
|||
|
|||
assert.throws(() => { |
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.
Nit: as someone who is actively needing to go through and port these tests to other environments in an attempt to be more compatible with node.js, having comments included with these additional tests would be helpful to identify what exactly is being tested.
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
PR is currently blocked from landing due to unreliable CI. Likely needs a rebase |
This reverts commit dd8eeec.