Skip to content

Commit 549d717

Browse files
committed
test: adapt test-fs-read to V8 9.3
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]>
1 parent 644b25e commit 549d717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-fs-read.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ assert.throws(
8080

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

0 commit comments

Comments
 (0)