Skip to content

Commit

Permalink
test: adapt test-fs-read to V8 9.3
Browse files Browse the repository at this point in the history
An error message changed.

Refs: v8/v8@c0fd89c

PR-URL: #39469
Backport-PR-URL: #39947
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
targos committed Sep 1, 2021
1 parent 644b25e commit 549d717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-fs-read.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ assert.throws(

assert.throws(
() => fs.read(fd, { buffer: null }, common.mustNotCall()),
/TypeError: Cannot read property 'byteLength' of null/,
/TypeError: Cannot read properties of null \(reading 'byteLength'\)/,
'throws when options.buffer is null'
);

Expand Down

0 comments on commit 549d717

Please sign in to comment.