Conversation
|
Side note: Edit: #353 |
|
Test failure is unrelated (it's the travis+npm timeout issue). |
OK. Should I use tap, tape or assert? The test suite is a mixture of these. |
BridgeAR
left a comment
There was a problem hiding this comment.
LGTM. Good work and thanks a lot for this!
|
@mcollina thinking about the changes: as long as they initially are aligned it should be fine. Testing these could only be done properly in Node core itself and at least adding tests for |
I already wrote tests, before I read this. So let me know if I should revert the commit. IMO it can't hurt to have tests here, because the code is not 100% equal to core, we have ponyfills for |
|
@vweevers all stream related Node core tests run against this module as well and that is how the tests should be tested. Having these tests here mean both sides could still diverge without noticing it. They probably do not hurt either tough. To me it's your call if you keep them or remove them, even tough I would remove them. |
I see what you mean. @mcollina your call :) |
Addresses #344 (comment) and #344 (comment).