Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: enable more case of bad buffer in
fs.write
Passing to the `string` parameter an object with an own `toString` function is no longer supported.(DEP0162) So use such case as bad buffer in test. Refs: https://github.com/nodejs/node/blob/main/doc/api/deprecations.md#dep0162-fswrite-fswritefilesync-coercion-to-string PR-URL: #46236 Refs: #42796 Reviewed-By: LiviaMedeiros <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
- Loading branch information