We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ba56e5 commit 3666993Copy full SHA for 3666993
test/parallel/test-fs-readfile.js
@@ -53,7 +53,7 @@ for (const e of fileInfo) {
53
for (const e of fileInfo) {
54
fs.readFile(e.name, common.mustCall((err, buf) => {
55
console.log(`Validating readFile on file ${e.name} of length ${e.len}`);
56
- assert.ifError(err, 'An error occurred');
+ assert.ifError(err);
57
assert.deepStrictEqual(buf, e.contents, 'Incorrect file contents');
58
}));
59
}
0 commit comments