test: add tests for clearBuffer state machine
This checks to see that clearBuffer appropriately decrements the correct values in _writableState when clearBuffer is invoked in end. Fixes: https://github.com/nodejs/node/issues/8687 PR-URL: https://github.com/nodejs/node/pull/9922 Reviewed-By:Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Matteo Collina <matteo.collina@gmail.com> Reviewed-By:
Italo A. Casas <me@italoacasas.com>
parent
37a36227
Please register or sign in to comment