Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
test: adapt test-fs-read to V8 9.3
An error message changed.

Refs: v8/v8@c0fd89c
  • Loading branch information
targos committed Aug 29, 2021
commit 90e50e4e0bd81150301996b79b87cffbce9474c9
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