test: refactor test-crypto-hash-stream-pipe
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
Description of change
Change var to const, assert.equal to assert.strictEqual