| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
You should be able to run these tests for those functions as well. The issue with those functions will only manifest if you request something out of range. Since this test requests valid ranges with noAssert enabled, it should be OK. |
Sorry, something went wrong.
|
@Trott included those test cases buffer.writeDouble* and buffer.writeFloat* |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM if CI is green
Sorry, something went wrong.
Sorry, something went wrong.
There was a problem hiding this comment.
This functionality is tested every time. Wouldn't it be enough to test this only once?
Sorry, something went wrong.
There was a problem hiding this comment.
Oh, yes, that's testing the wrong thing. It should test a legit alloc() call and an out-of-range call to the write function being tested. @larissayvette can you adjust it?
Sorry, something went wrong.
|
Changes LGTM |
Sorry, something went wrong.
Sorry, something went wrong.
|
Single failure on SmartOS is unrelated, opened an issue for it. |
Sorry, something went wrong.
Add test to cover previously untested `noAssert` functionality in buf.write*() functions. PR-URL: nodejs#10790 Reviewed-By: Rich Trott <rtrott@gmail.com>
|
Landed in 084acc8. |
Sorry, something went wrong.
Add test to cover previously untested `noAssert` functionality in buf.write*() functions. PR-URL: #10790 Reviewed-By: Rich Trott <rtrott@gmail.com>
Add test to cover previously untested `noAssert` functionality in buf.write*() functions. PR-URL: #10790 Reviewed-By: Rich Trott <rtrott@gmail.com>
|
This would need a backport PR to land in v4 |
Sorry, something went wrong.
Add test to cover previously untested `noAssert` functionality in buf.write*() functions. PR-URL: #10790 Reviewed-By: Rich Trott <rtrott@gmail.com>
| Back | FazBrowse Home | New Git URL |
Checklist
Affected core subsystem(s)
test
Test for noAssert in buffer.write() files and inluded buffer.writeDouble* and buffer.writeFloat* as it was not present in the first commit