Skip to content

Commit

Permalink
Update test/parallel/test-streams-highwatermark.js
Browse files Browse the repository at this point in the history
Co-authored-by: Darshan Sen <[email protected]>
  • Loading branch information
pd4d10 and RaisinTen authored May 18, 2021
1 parent 4664523 commit 7603a4b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/parallel/test-streams-highwatermark.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ const { inspect } = require('util');

assert.throws(() => readable.read(hwm), common.expectsError({
code: 'ERR_OUT_OF_RANGE',
message: 'The value of "size" is out of range.'
+ ' It must be <= 1GiB. Received ' + hwm,
}))
message: 'The value of "size" is out of range.' +
' It must be <= 1GiB. Received ' +
hwm,
}));
}

0 comments on commit 7603a4b

Please sign in to comment.