buffer
buffer copied to clipboard
Tests are out of sync with Node.js tests
When running ./bin/download-node-tests.js
it's apparent that the tests are heavily out of sync with the Node tests.
I plan to go over them an resync things. I open this issue to prevent double work, so a "go for it" from the maintainers would be appreciated.
I'm not a maintainer, but I'll say "go for it" anyway :grinning:
Merged @vmx's PR and the tests are closer to node's now, but there's still a lot of differences.
I just spent like 3 hours merging in more changes from Node.js, but there's still more changes to be done... wow. Would appreciate help from other folks, if there's interest. @vmx, any interest?
I've started adding the new test files that were added. Once they're all added in, then we can delete test/node/test-buffer.js
which has been removed from the original repo. But I don't want to remove it before the other files are merged in, otherwise we'll lose coverage in the meantime.
EDIT: Here's the changes I've made (committed to master already): https://github.com/feross/buffer/compare/e0adc7a07e46d11c70d959c5caa4948d262d1b94...f5aae1035d8e3e78c2264ad9ec9fb13bbc51f08f
Thanks for the review @feross. I still have interest and would spend some time next week. I'll start from the top (alphabetically) and work on the differences. I'll push again in small increments to prevent double efforts.
Great, looking forward to a PR next week, @vmx!
Note to self: When all these tests and code changes are merged in, publish a new major version.
Hey all. It's been some time since this issue was opened and buffer was updated. Has the herd moved to another implementation/fork? Or is there still a roadmap for this one to be actively developed? Just curious.
@superguineapig When I was talking with @feross he said he's happy to see those fixes. So my currnet workflow is doing some of those fixes, waiting for a review (wow, it's been a long time for #190 being open) and merge and then doing some more whenever I find time.
Thanks for the info @vmx Glad to hear the project is still alive.
I'm in grad school as of the past year, so I was off GitHub for a while. Still around and still plan to maintain this as good as ever. :)