summaryrefslogtreecommitdiff
path: root/test/parallel/test-stream-buffer-list.js
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-10-02 21:21:51 -0400
committerDaniel Bevenius <daniel.bevenius@gmail.com>2018-10-03 08:00:11 +0200
commit7aeda947245cbf8c6bad38ccc34aa64d9e2efe5a (patch)
tree865f86230b55dbeb4122254550e8b5a9ac838352 /test/parallel/test-stream-buffer-list.js
parent37e838115021eb88c15c38e6a61eeebbced3c60a (diff)
downloadandroid-node-v8-7aeda947245cbf8c6bad38ccc34aa64d9e2efe5a.tar.gz
android-node-v8-7aeda947245cbf8c6bad38ccc34aa64d9e2efe5a.tar.bz2
android-node-v8-7aeda947245cbf8c6bad38ccc34aa64d9e2efe5a.zip
test: fix broken test
Approved for fast-tracking by: Rich Trott <rtrott@gmail.com> Colin Ihrig <cjihrig@gmail.com> Refael Ackermann <refack@gmail.com> James M Snell <jasnell@gmail.com> Gireesh Punathil <gpunathi@in.ibm.com> Anna Henningsen <anna@addaleax.net> Sakthipriyan Vairamani <thechargingvolcano@gmail.com> PR-URL: https://github.com/nodejs/node/pull/23232 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Diffstat (limited to 'test/parallel/test-stream-buffer-list.js')
-rw-r--r--test/parallel/test-stream-buffer-list.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parallel/test-stream-buffer-list.js b/test/parallel/test-stream-buffer-list.js
index ef9b1fef6d..1d3d7dd903 100644
--- a/test/parallel/test-stream-buffer-list.js
+++ b/test/parallel/test-stream-buffer-list.js
@@ -36,5 +36,6 @@ const tmp = util.inspect.defaultOptions.colors;
util.inspect.defaultOptions = { colors: true };
assert.strictEqual(
util.inspect(list),
- 'BufferList { length: \u001b[33m0\u001b[39m }');
+ 'BufferList { head: \u001b[1mnull\u001b[22m, tail: \u001b[1mnull\u001b[22m,' +
+ ' length: \u001b[33m0\u001b[39m }');
util.inspect.defaultOptions = { colors: tmp };