test: refactor test-stream2-writable
- replace setTimeout() with setImmediate()
- assert.equal() -> assert.strictEqual()
- remove unused function arguments
- normalize indentation
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test stream
Description of change
* replace setTimeout() with setImmediate()
* assert.equal() -> assert.strictEqual()
* remove unused function arguments
* normalize indentation