summaryrefslogtreecommitdiff
path: root/test/parallel/test-stream-push-strings.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-stream-push-strings.js')
-rw-r--r--test/parallel/test-stream-push-strings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-stream-push-strings.js b/test/parallel/test-stream-push-strings.js
index af7132545b..2c2d2ec467 100644
--- a/test/parallel/test-stream-push-strings.js
+++ b/test/parallel/test-stream-push-strings.js
@@ -56,7 +56,7 @@ const results = [];
ms.on('readable', function() {
let chunk;
while (null !== (chunk = ms.read()))
- results.push(chunk + '');
+ results.push(String(chunk));
});
const expect = [ 'first chunksecond to last chunk', 'last chunk' ];