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
Next Next commit
test: fix fs.read message
  • Loading branch information
darvesh committed Nov 20, 2020
commit 25cc46c4f734c07833252b547c18c38b52f8ce4c
2 changes: 1 addition & 1 deletion test/parallel/test-fs-read.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,5 @@ assert.throws(
assert.throws(() => fs.read(fd, Buffer.alloc(1), 0, 1, 1n, () => {}), {
name: 'TypeError',
code: 'ERR_INVALID_ARG_TYPE',
message: 'The "position" argument must be of type number. Received bigint',
message: 'The "position" argument must be of type number. Received type bigint (1n)',
});